diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt.c b/src/lib/crypt.c index 94f1b50e..c9129a61 100644 --- a/src/lib/crypt.c +++ b/src/lib/crypt.c @@ -83,7 +83,7 @@ static int __openssl_ecdh_derive_secret(EVP_PKEY * kp, return 0; fail_derive: - OPENSSL_free(s); + OPENSSL_free(secret); fail_ctx: EVP_PKEY_CTX_free(ctx); fail_new: |