projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Import of old SSLeay release: SSLeay 0.9.1b (unreleased)
[openssl.git]
/
crypto
/
rsa
/
rsa_sign.c
diff --git
a/crypto/rsa/rsa_sign.c
b/crypto/rsa/rsa_sign.c
index 28c5571e74a9cc856aec0eeea82ca81bf4ffa523..e38911146af40f87510b07bb553d58cf232998db 100644
(file)
--- a/
crypto/rsa/rsa_sign.c
+++ b/
crypto/rsa/rsa_sign.c
@@
-154,9
+154,11
@@
RSA *rsa;
p=s;
sig=d2i_X509_SIG(NULL,&p,(long)i);
+
if (sig == NULL) goto err;
sigtype=OBJ_obj2nid(sig->algor->algorithm);
+
#ifdef RSA_DEBUG
/* put a backward compatability flag in EAY */
fprintf(stderr,"in(%s) expect(%s)\n",OBJ_nid2ln(sigtype),