projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a108e3e
)
Fix signedness bug in SPA authenticator
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 18 Apr 2015 18:12:19 +0000
(19:12 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 18 Apr 2015 18:12:19 +0000
(19:12 +0100)
src/src/auths/auth-spa.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/auths/auth-spa.c
b/src/src/auths/auth-spa.c
index 7ad5a1de8214a3884ee967f2ad466f5ced013551..9abc7b7789a939f05fbbadbed450620d2f4405c1 100644
(file)
--- a/
src/src/auths/auth-spa.c
+++ b/
src/src/auths/auth-spa.c
@@
-368,7
+368,7
@@
void mdfour (unsigned char *out, unsigned char *in, int n);
static const char base64digits[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-#define BAD -1
+#define BAD
(char)
-1
static const char base64val[] = {
BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD,
BAD,