diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/evp/evp_ecx_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/evp/evp_ecx_test.c b/src/regress/lib/libcrypto/evp/evp_ecx_test.c index a20902440c..c035f11b54 100644 --- a/src/regress/lib/libcrypto/evp/evp_ecx_test.c +++ b/src/regress/lib/libcrypto/evp/evp_ecx_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_ecx_test.c,v 1.1 2022/11/10 16:38:57 jsing Exp $ */ | 1 | /* $OpenBSD: evp_ecx_test.c,v 1.2 2022/11/22 20:04:51 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -440,6 +440,7 @@ ecx_ed25519_sign_test(void) | |||
440 | 440 | ||
441 | failure: | 441 | failure: |
442 | BIO_free(bio); | 442 | BIO_free(bio); |
443 | EVP_MD_CTX_free(md_ctx); | ||
443 | EVP_PKEY_free(pkey); | 444 | EVP_PKEY_free(pkey); |
444 | free(signature); | 445 | free(signature); |
445 | 446 | ||
@@ -480,6 +481,7 @@ ecx_ed25519_verify_test(void) | |||
480 | 481 | ||
481 | failure: | 482 | failure: |
482 | BIO_free(bio); | 483 | BIO_free(bio); |
484 | EVP_MD_CTX_free(md_ctx); | ||
483 | EVP_PKEY_free(pkey); | 485 | EVP_PKEY_free(pkey); |
484 | 486 | ||
485 | return failed; | 487 | return failed; |