aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_tortls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c
index 944edc4459..280e7fa3b0 100644
--- a/src/test/test_tortls.c
+++ b/src/test/test_tortls.c
@@ -2864,6 +2864,7 @@ test_tortls_cert_new(void *ignored)
ret = tor_x509_cert_new(cert);
tt_assert(ret);
tor_x509_cert_free(ret);
+ ret = NULL;
#if 0
cert = read_cert_from(validCertString);