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