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 7
[openssl.git]
/
crypto
/
dh
/
dh_check.c
diff --git
a/crypto/dh/dh_check.c
b/crypto/dh/dh_check.c
index 7a8e063fc81169c2aef448599630f928b2b9a1ac..b8b3890d9e7c625575b250e21024165594d7e0ab 100644
(file)
--- a/
crypto/dh/dh_check.c
+++ b/
crypto/dh/dh_check.c
@@
-159,7
+159,6
@@
int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
ok = 1;
err:
- if (q != NULL)
- BN_free(q);
+ BN_free(q);
return (ok);
}