aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rsa/rsa_enc.c')
-rw-r--r--crypto/rsa/rsa_enc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_enc.c b/crypto/rsa/rsa_enc.c
index 5f91239da5..c4a4ad5a60 100644
--- a/crypto/rsa/rsa_enc.c
+++ b/crypto/rsa/rsa_enc.c
@@ -531,8 +531,7 @@ RSA *rsa;
err:
if (m1 != NULL) BN_free(m1);
if (r1 != NULL) BN_free(r1);
- if(ctx != NULL)
- BN_CTX_free(ctx);
+ BN_CTX_free(ctx);
return(ret);
}