[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Rich Salz
rsalz at openssl.org
Mon Jan 26 16:06:45 UTC 2015
The branch OpenSSL_1_0_2-stable has been updated
via 63ac16ccac6930ac6a1dc13b5ad72765b553b876 (commit)
from db7cb7ab9a5968f32ddbe11c3fba71ccbf4ffa53 (commit)
- Log -----------------------------------------------------------------
commit 63ac16ccac6930ac6a1dc13b5ad72765b553b876
Author: Rich Salz <rsalz at openssl.org>
Date: Mon Jan 26 11:06:28 2015 -0500
Remove obsolete support for old code.
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Andy Polyakov <appro at openssl.org>
(cherry picked from commit 3d0cf918078fecee8b040807a2603e41937092f6)
-----------------------------------------------------------------------
Summary of changes:
crypto/rsa/rsa_sign.c | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/crypto/rsa/rsa_sign.c b/crypto/rsa/rsa_sign.c
index bc91da2..19461c6 100644
--- a/crypto/rsa/rsa_sign.c
+++ b/crypto/rsa/rsa_sign.c
@@ -261,19 +261,8 @@ int int_rsa_verify(int dtype, const unsigned char *m,
OBJ_nid2ln(dtype));
#endif
if (sigtype != dtype) {
- if (((dtype == NID_md5) &&
- (sigtype == NID_md5WithRSAEncryption)) ||
- ((dtype == NID_md2) &&
- (sigtype == NID_md2WithRSAEncryption))) {
- /* ok, we will let it through */
-#if !defined(OPENSSL_NO_STDIO) && !defined(OPENSSL_SYS_WIN16)
- fprintf(stderr,
- "signature has problems, re-make with post SSLeay045\n");
-#endif
- } else {
- RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_ALGORITHM_MISMATCH);
- goto err;
- }
+ RSAerr(RSA_F_INT_RSA_VERIFY, RSA_R_ALGORITHM_MISMATCH);
+ goto err;
}
if (rm) {
const EVP_MD *md;
More information about the openssl-commits
mailing list