projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to track changes on a CVS vendor
[openssl.git]
/
crypto
/
rsa
/
rsa_sign.c
diff --git
a/crypto/rsa/rsa_sign.c
b/crypto/rsa/rsa_sign.c
index 7c815ed257e20f23f0315b0b87c171c1c6c201cb..e38911146af40f87510b07bb553d58cf232998db 100644
(file)
--- a/
crypto/rsa/rsa_sign.c
+++ b/
crypto/rsa/rsa_sign.c
@@
-1,5
+1,5
@@
/* crypto/rsa/rsa_sign.c */
/* crypto/rsa/rsa_sign.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-154,9
+154,11
@@
RSA *rsa;
p=s;
sig=d2i_X509_SIG(NULL,&p,(long)i);
p=s;
sig=d2i_X509_SIG(NULL,&p,(long)i);
+
if (sig == NULL) goto err;
sigtype=OBJ_obj2nid(sig->algor->algorithm);
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),
#ifdef RSA_DEBUG
/* put a backward compatability flag in EAY */
fprintf(stderr,"in(%s) expect(%s)\n",OBJ_nid2ln(sigtype),
@@
-170,7
+172,7
@@
RSA *rsa;
(sigtype == NID_md2WithRSAEncryption)))
{
/* ok, we will let it through */
(sigtype == NID_md2WithRSAEncryption)))
{
/* ok, we will let it through */
-#if
ndef WIN16
+#if
!defined(NO_STDIO) && !defined(WIN16)
fprintf(stderr,"signature has problems, re-make with post SSLeay045\n");
#endif
}
fprintf(stderr,"signature has problems, re-make with post SSLeay045\n");
#endif
}