summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_saos.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rsa/rsa_saos.c')
-rw-r--r--crypto/rsa/rsa_saos.c3
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);