summaryrefslogtreecommitdiff
path: root/lib/gnutls_kx.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-12 14:24:34 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-27 11:41:43 +0100
commit54684ed8aefe08e3d8fa49ab21211064c5f7f0f5 (patch)
treefd4fdd2c9049489a4d1cb7b30a5fb3f800c9f0cb /lib/gnutls_kx.c
parentad35a04fe47a97c41c51d2271b01f24be13217b1 (diff)
downloadgnutls-54684ed8aefe08e3d8fa49ab21211064c5f7f0f5.tar.gz
Added zeroization of keys in several parts within gnutls.
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r--lib/gnutls_kx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c
index 778783bf5c..4d68f06581 100644
--- a/lib/gnutls_kx.c
+++ b/lib/gnutls_kx.c
@@ -150,7 +150,7 @@ generate_normal_master(gnutls_session_t session,
}
if (!keep_premaster)
- _gnutls_free_datum(premaster);
+ _gnutls_zfree_datum(premaster);
if (ret < 0)
return ret;