projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for d2i_ASN1_bytes and stop PKCS#7 routines crashing is signed message
[oweals/openssl.git]
/
crypto
/
asn1
/
d2i_s_pu.c
diff --git
a/crypto/asn1/d2i_s_pu.c
b/crypto/asn1/d2i_s_pu.c
index 2b1bf638c197261f37d390afaf4e8bb044fd8eda..94ea1c313b686fecb836024b7634fbe69a432e78 100644
(file)
--- a/
crypto/asn1/d2i_s_pu.c
+++ b/
crypto/asn1/d2i_s_pu.c
@@
-66,6
+66,10
@@
#include <openssl/objects.h>
#include <openssl/asn1_mac.h>
+#ifdef NEG_PUBKEY_BUG
+#define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER
+#endif
+
DSA *d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length)
{
int i=ASN1_R_PARSING;