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
/
ecdh
/
ech_ossl.c
diff --git
a/crypto/ecdh/ech_ossl.c
b/crypto/ecdh/ech_ossl.c
index b8ccf5a7198bc0ba7990e4de7e9d9211cad2c857..6297706a2a226acd3a1160b66ce4c1c25e938d67 100644
(file)
--- a/
crypto/ecdh/ech_ossl.c
+++ b/
crypto/ecdh/ech_ossl.c
@@
-205,8
+205,7
@@
static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
EC_POINT_free(tmp);
if (ctx)
BN_CTX_end(ctx);
- if (ctx)
- BN_CTX_free(ctx);
+ BN_CTX_free(ctx);
if (buf)
OPENSSL_free(buf);
return (ret);