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
DSN: tescase for ESMTP DSN extension, RCPT options
[exim.git]
/
src
/
src
/
base64.c
diff --git
a/src/src/base64.c
b/src/src/base64.c
index 1d84c1e5c34116bbfdf9b137bd26ba19b1f3a1da..e63522ec4d5bc4a002bc8ca84fcd40a63339ddc4 100644
(file)
--- a/
src/src/base64.c
+++ b/
src/src/base64.c
@@
-5,7
+5,7
@@
/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004, 2015 */
/* License: GPL */
/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2004, 2015 */
/* License: GPL */
-/* Copyright (c) University of Cambridge 1995 - 201
7
*/
+/* Copyright (c) University of Cambridge 1995 - 201
8
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-173,7
+173,7
@@
while ((x = *code++) != 0)
while (isspace(y = *code++)) ;
/* debug_printf("b64d: '%c'\n", y); */
while (isspace(y = *code++)) ;
/* debug_printf("b64d: '%c'\n", y); */
- if (y
== 0
|| (y = dec64table[y]) == 255)
+ if (y
> 127
|| (y = dec64table[y]) == 255)
return -1;
*result++ = (x << 2) | (y >> 4);
return -1;
*result++ = (x << 2) | (y >> 4);