diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2017-08-23 01:36:49 +0800 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-25 16:23:07 +0100 |
commit | 90862ab4b2fb80ebbc89849bc28393da393022fb (patch) | |
tree | 5ed19a6764b691ac08415e82bf4fc3d82dff1e9e /crypto/rsa/rsa_saos.c | |
parent | 8686c474807d3c7bcb722294f39ac4e5627e9fa2 (diff) |
This part fixes braces around if-else.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4223)
Diffstat (limited to 'crypto/rsa/rsa_saos.c')
-rw-r--r-- | crypto/rsa/rsa_saos.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_saos.c b/crypto/rsa/rsa_saos.c index 89d86f069e..8336f32f16 100644 --- a/crypto/rsa/rsa_saos.c +++ b/crypto/rsa/rsa_saos.c @@ -85,8 +85,9 @@ int RSA_verify_ASN1_OCTET_STRING(int dtype, if (((unsigned int)sig->length != m_len) || (memcmp(m, sig->data, m_len) != 0)) { RSAerr(RSA_F_RSA_VERIFY_ASN1_OCTET_STRING, RSA_R_BAD_SIGNATURE); - } else + } else { ret = 1; + } err: ASN1_OCTET_STRING_free(sig); OPENSSL_clear_free(s, (unsigned int)siglen); |