[openssl-commits] [openssl] OpenSSL_1_0_1-stable update
Dr. Stephen Henson
steve at openssl.org
Sun Dec 20 19:28:49 UTC 2015
The branch OpenSSL_1_0_1-stable has been updated
via 23a58779f53a9060c823d00d76b3070cad61d9a3 (commit)
from f9b52eb6b1623d927aa1b556b0b23110ca2a6b28 (commit)
- Log -----------------------------------------------------------------
commit 23a58779f53a9060c823d00d76b3070cad61d9a3
Author: Dr. Stephen Henson <steve at openssl.org>
Date: Sun Dec 20 18:18:43 2015 +0000
Don't check RSA_FLAG_SIGN_VER.
Reviewed-by: Richard Levitte <levitte at openssl.org>
(cherry picked from commit 6656ba7152dfe4bba865e327dd362ea08544aa80)
-----------------------------------------------------------------------
Summary of changes:
crypto/rsa/rsa_sign.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crypto/rsa/rsa_sign.c b/crypto/rsa/rsa_sign.c
index 41c827f..cf4c026 100644
--- a/crypto/rsa/rsa_sign.c
+++ b/crypto/rsa/rsa_sign.c
@@ -84,7 +84,7 @@ int RSA_sign(int type, const unsigned char *m, unsigned int m_len,
return 0;
}
#endif
- if ((rsa->flags & RSA_FLAG_SIGN_VER) && rsa->meth->rsa_sign) {
+ if (rsa->meth->rsa_sign) {
return rsa->meth->rsa_sign(type, m, m_len, sigret, siglen, rsa);
}
/* Special case: SSL signature, just check the length */
@@ -304,7 +304,7 @@ int RSA_verify(int dtype, const unsigned char *m, unsigned int m_len,
const unsigned char *sigbuf, unsigned int siglen, RSA *rsa)
{
- if ((rsa->flags & RSA_FLAG_SIGN_VER) && rsa->meth->rsa_verify) {
+ if (rsa->meth->rsa_verify) {
return rsa->meth->rsa_verify(dtype, m, m_len, sigbuf, siglen, rsa);
}
More information about the openssl-commits
mailing list