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 finale
[openssl.git]
/
crypto
/
ecdh
/
ech_ossl.c
diff --git
a/crypto/ecdh/ech_ossl.c
b/crypto/ecdh/ech_ossl.c
index 6297706a2a226acd3a1160b66ce4c1c25e938d67..ad3482fab754b1a6db8887484ef0a352418ffdd3 100644
(file)
--- a/
crypto/ecdh/ech_ossl.c
+++ b/
crypto/ecdh/ech_ossl.c
@@
-206,7
+206,6
@@
static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
if (ctx)
BN_CTX_end(ctx);
BN_CTX_free(ctx);
- if (buf)
- OPENSSL_free(buf);
+ OPENSSL_free(buf);
return (ret);
}