projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free NULL cleanup 5a
[openssl.git]
/
crypto
/
rsa
/
rsa_sign.c
diff --git
a/crypto/rsa/rsa_sign.c
b/crypto/rsa/rsa_sign.c
index ec1575ac30b81de47358e4a2bb526d52b128bba8..3b2ba569a6bc4915a18001b15045d04790126a4d 100644
(file)
--- a/
crypto/rsa/rsa_sign.c
+++ b/
crypto/rsa/rsa_sign.c
@@
-266,8
+266,7
@@
int int_rsa_verify(int dtype, const unsigned char *m,
ret = 1;
}
err:
- if (sig != NULL)
- X509_SIG_free(sig);
+ X509_SIG_free(sig);
if (s != NULL) {
OPENSSL_cleanse(s, (unsigned int)siglen);
OPENSSL_free(s);