aboutsummaryrefslogtreecommitdiff
path: root/test_sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_sign.c')
-rw-r--r--test_sign.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_sign.c b/test_sign.c
index 763b097..4a63f42 100644
--- a/test_sign.c
+++ b/test_sign.c
@@ -226,6 +226,8 @@ static int test_sign(struct test_sign *t)
EVP_PKEY_CTX_free(ctx);
OPENSSL_free(sig);
OPENSSL_free(hash);
+ EVP_PKEY_free(priv_key);
+ EVP_PKEY_free(key2);
return ret;
}