diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-11-28 18:28:19 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:36 +0100 |
commit | f0a3c596ff55e0bbd0888bdf0e3dfb809a44b133 (patch) | |
tree | 80b17ed348eaeede3da3f672d28a857964134781 /lib/global.c | |
parent | 545ec57a2026d2d2f4ddc4acde9f7cc84fefeca5 (diff) | |
download | gnutls-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.c | 2 |
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 { |