aboutsummaryrefslogtreecommitdiff
path: root/test/x509_dup_cert_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/x509_dup_cert_test.c')
-rw-r--r--test/x509_dup_cert_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/x509_dup_cert_test.c b/test/x509_dup_cert_test.c
index af35afbe0c98..b09de70a8a56 100644
--- a/test/x509_dup_cert_test.c
+++ b/test/x509_dup_cert_test.c
@@ -17,7 +17,6 @@
static int test_509_dup_cert(int n)
{
int ret = 0;
- X509_STORE_CTX *sctx = NULL;
X509_STORE *store = NULL;
X509_LOOKUP *lookup = NULL;
const char *cert_f = test_get_argument(n);
@@ -28,7 +27,6 @@ static int test_509_dup_cert(int n)
&& TEST_true(X509_load_cert_file(lookup, cert_f, X509_FILETYPE_PEM)))
ret = 1;
- X509_STORE_CTX_free(sctx);
X509_STORE_free(store);
return ret;
}