git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GnuTLS: lose DH-param setup, for recent library versions where no longer needed
[exim.git]
/
src
/
src
/
base64.c
diff --git
a/src/src/base64.c
b/src/src/base64.c
index f3c4584707fae0a6a9bc6fdd3855c3ede3b0985b..6c8191462a9c8cd63c9c88c744b8590c6b638315 100644
(file)
--- a/
src/src/base64.c
+++ b/
src/src/base64.c
@@
-158,7
+158,7
@@
uschar *result;
{
int l = Ustrlen(code);
{
int l = Ustrlen(code);
- *ptr = result = store_get(1 + l/4 * 3 + l%4);
+ *ptr = result = store_get(1 + l/4 * 3 + l%4
, is_tainted(code)
);
}
/* Each cycle of the loop handles a quantum of 4 input bytes. For the last
}
/* Each cycle of the loop handles a quantum of 4 input bytes. For the last
@@
-242,9
+242,9
@@
static uschar *enc64table =
US"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
uschar *
US"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
uschar *
-b64encode(
uschar *
clear, int len)
+b64encode(
const uschar *
clear, int len)
{
{
-uschar *code = store_get(4*((len+2)/3) + 1);
+uschar *code = store_get(4*((len+2)/3) + 1
, is_tainted(clear)
);
uschar *p = code;
while (len-- >0)
uschar *p = code;
while (len-- >0)