summaryrefslogtreecommitdiff
path: root/lib/pkcs11_write.c
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-02-12 15:14:07 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2019-02-22 13:11:01 +0100
commit372821c883a3d36ed3ed683844ad9d90818f6392 (patch)
tree6783b9830f7eb9294a5bd316c9786e5d6981abaf /lib/pkcs11_write.c
parentd39778e43d1674cb3ab3685157fd299816d535c0 (diff)
downloadgnutls-372821c883a3d36ed3ed683844ad9d90818f6392.tar.gz
Remove redundant resets of variables after free()
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'lib/pkcs11_write.c')
-rw-r--r--lib/pkcs11_write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pkcs11_write.c b/lib/pkcs11_write.c
index 4a83018fd8..49a47ebf8b 100644
--- a/lib/pkcs11_write.c
+++ b/lib/pkcs11_write.c
@@ -268,7 +268,6 @@ static void clean_pubkey(struct ck_attribute *a, unsigned a_val)
case CKA_EC_PARAMS:
case CKA_EC_POINT:
gnutls_free(a[i].value);
- a[i].value = NULL;
break;
}
}