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: add References: header. Bug 2452
[exim.git]
/
src
/
src
/
pdkim
/
signing.c
diff --git
a/src/src/pdkim/signing.c
b/src/src/pdkim/signing.c
index aff3d90616bac6a3e677a4be2f327ba0c1a47f66..102e7bf5152738128eb6ac4b8b68df07e6ccecd9 100644
(file)
--- a/
src/src/pdkim/signing.c
+++ b/
src/src/pdkim/signing.c
@@
-412,8
+412,9
@@
if ( !(s1 = Ustrstr(CS privkey_pem, "-----BEGIN RSA PRIVATE KEY-----"))
*s2 = '\0';
*s2 = '\0';
-if ((
der.len = b64decode(s1, &der.data)) < 0
)
+if ((
rc = b64decode(s1, &der.data) < 0)
)
return US"Bad PEM-DER b64 decode";
return US"Bad PEM-DER b64 decode";
+der.len = rc;
/* untangle asn.1 */
/* untangle asn.1 */