002-base64-fix.patch 528 B

1234567891011121314151617181920
  1. --- a/imap-common.c 2011-12-20 00:19:03.000000000 +0400
  2. +++ b/imap-common.c 2014-11-13 12:56:06.930418446 +0300
  3. @@ -206,7 +206,7 @@
  4. size = (strlen(in) * 2) + 1;
  5. out = xcalloc(1, size);
  6. - if (b64_ntop(in, strlen(in), out, size) < 0) {
  7. + if (local_b64_ntop(in, strlen(in), out, size) < 0) {
  8. xfree(out);
  9. return (NULL);
  10. }
  11. @@ -222,7 +222,7 @@
  12. size = (strlen(in) * 4) + 1;
  13. out = xcalloc(1, size);
  14. - if (b64_pton(in, out, size) < 0) {
  15. + if (local_b64_pton(in, out, size) < 0) {
  16. xfree(out);
  17. return (NULL);
  18. }