projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Accept NULL in *_free.
[openssl.git]
/
crypto
/
rsa
/
rsa_enc.c
diff --git
a/crypto/rsa/rsa_enc.c
b/crypto/rsa/rsa_enc.c
index 5f91239da55a055c75ec81a9cbf39888a31153c7..c4a4ad5a605c81267b9c8560c2e651b181cd3efc 100644
(file)
--- 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);
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);
}
return(ret);
}