diff options
-rw-r--r-- | src/lib/libcrypto/kdf/tls1_prf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/kdf/tls1_prf.c b/src/lib/libcrypto/kdf/tls1_prf.c index dae42b684f..c0751b9721 100644 --- a/src/lib/libcrypto/kdf/tls1_prf.c +++ b/src/lib/libcrypto/kdf/tls1_prf.c | |||
@@ -51,7 +51,7 @@ static void pkey_tls1_prf_cleanup(EVP_PKEY_CTX *ctx) | |||
51 | TLS1_PRF_PKEY_CTX *kctx = ctx->data; | 51 | TLS1_PRF_PKEY_CTX *kctx = ctx->data; |
52 | freezero(kctx->sec, kctx->seclen); | 52 | freezero(kctx->sec, kctx->seclen); |
53 | explicit_bzero(kctx->seed, kctx->seedlen); | 53 | explicit_bzero(kctx->seed, kctx->seedlen); |
54 | OPENSSL_free(kctx); | 54 | free(kctx); |
55 | } | 55 | } |
56 | 56 | ||
57 | static int pkey_tls1_prf_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) | 57 | static int pkey_tls1_prf_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) |