summaryrefslogtreecommitdiff
path: root/tests/sign-verify-ext.c
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-02-23 22:21:09 +0000
committerTim Rühsen <tim.ruehsen@gmx.de>2019-02-23 22:21:09 +0000
commit115779ad2e3f27f8cc4b5ad9956a22a3921d6edd (patch)
tree0850345c8f43dbbc9b058cb8bba23038508b6933 /tests/sign-verify-ext.c
parentc0af09dee671d90f69e40fdfa5e0117cd995ef18 (diff)
parent6b5cbc9ea5bdca704bdbe2f8fb551f720d634bc6 (diff)
downloadgnutls-115779ad2e3f27f8cc4b5ad9956a22a3921d6edd.tar.gz
Merge branch 'tmp-reset-after-free' into 'master'
Automatically NULLify after gnutls_free() See merge request gnutls/gnutls!923
Diffstat (limited to 'tests/sign-verify-ext.c')
-rw-r--r--tests/sign-verify-ext.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/sign-verify-ext.c b/tests/sign-verify-ext.c
index eecb1f357b..cc80bf907f 100644
--- a/tests/sign-verify-ext.c
+++ b/tests/sign-verify-ext.c
@@ -186,9 +186,7 @@ void doit(void)
/* test the raw interface */
gnutls_free(signature.data);
- signature.data = NULL;
gnutls_free(signature2.data);
- signature2.data = NULL;
if (gnutls_pubkey_get_pk_algorithm(pubkey, NULL) ==
GNUTLS_PK_RSA) {