summaryrefslogtreecommitdiff
path: root/lib/global.c
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2017-11-28 18:28:19 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:36 +0100
commitf0a3c596ff55e0bbd0888bdf0e3dfb809a44b133 (patch)
tree80b17ed348eaeede3da3f672d28a857964134781 /lib/global.c
parent545ec57a2026d2d2f4ddc4acde9f7cc84fefeca5 (diff)
downloadgnutls-f0a3c596ff55e0bbd0888bdf0e3dfb809a44b133.tar.gz
_gnutls_nss_keylog_write: define new internal API
This patch turns the write_nss_key_log function to an internal API (with a different name) so that it can be called from other places implementing TLS 1.3 key scheduling. Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/global.c')
-rw-r--r--lib/global.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/global.c b/lib/global.c
index eaac0a5872..1f92965b80 100644
--- a/lib/global.c
+++ b/lib/global.c
@@ -436,6 +436,8 @@ static void _gnutls_global_deinit(unsigned destructor)
_gnutls_tpm_global_deinit();
#endif
+ _gnutls_nss_keylog_deinit();
+
gnutls_mutex_deinit(&_gnutls_file_mutex);
gnutls_mutex_deinit(&_gnutls_pkcs11_mutex);
} else {