summaryrefslogtreecommitdiff
path: root/lib/libcrypto/kdf
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/kdf')
-rw-r--r--lib/libcrypto/kdf/tls1_prf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/kdf/tls1_prf.c b/lib/libcrypto/kdf/tls1_prf.c
index dae42b684f9..c0751b9721e 100644
--- a/lib/libcrypto/kdf/tls1_prf.c
+++ b/lib/libcrypto/kdf/tls1_prf.c
@@ -51,7 +51,7 @@ static void pkey_tls1_prf_cleanup(EVP_PKEY_CTX *ctx)
TLS1_PRF_PKEY_CTX *kctx = ctx->data;
freezero(kctx->sec, kctx->seclen);
explicit_bzero(kctx->seed, kctx->seedlen);
- OPENSSL_free(kctx);
+ free(kctx);
}
static int pkey_tls1_prf_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)