summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/x509/verify.c')
-rw-r--r--src/regress/lib/libcrypto/x509/verify.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/x509/verify.c b/src/regress/lib/libcrypto/x509/verify.c
index added3bd9f..9ef68cd5ab 100644
--- a/src/regress/lib/libcrypto/x509/verify.c
+++ b/src/regress/lib/libcrypto/x509/verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: verify.c,v 1.4 2020/10/26 12:11:47 beck Exp $ */ 1/* $OpenBSD: verify.c,v 1.5 2020/11/18 06:56:07 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
@@ -221,6 +221,8 @@ verify_cert_new(const char *roots_file, const char *bundle_file, int *chains)
221 sk_X509_pop_free(roots, X509_free); 221 sk_X509_pop_free(roots, X509_free);
222 sk_X509_pop_free(bundle, X509_free); 222 sk_X509_pop_free(bundle, X509_free);
223 X509_free(leaf); 223 X509_free(leaf);
224 X509_STORE_CTX_free(xsc);
225 x509_verify_ctx_free(ctx);
224} 226}
225 227
226struct verify_cert_test verify_cert_tests[] = { 228struct verify_cert_test verify_cert_tests[] = {