summaryrefslogtreecommitdiff
path: root/tests/pkcs7.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkcs7.c')
-rw-r--r--tests/pkcs7.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/pkcs7.c b/tests/pkcs7.c
index a490976fc5..2d5a5548d4 100644
--- a/tests/pkcs7.c
+++ b/tests/pkcs7.c
@@ -90,7 +90,6 @@ static int getnextfile(DIR **dirp, gnutls_datum_t *der, int *exp_ret)
*exp_ret = atoi((char*)local.data);
success("expecting error code %d\n", *exp_ret);
gnutls_free(local.data);
- local.data = NULL;
}
return 0;
@@ -134,7 +133,6 @@ void doit(void)
gnutls_pkcs7_deinit(cert);
gnutls_free(der.data);
- der.data = NULL;
der.size = 0;
exp_ret = -1;
}