[gnutls-devel] GnuTLS | How to write/extract session keys with gnutls-cli ? (#802)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Jul 16 10:12:03 CEST 2019




Tim Rühsen commented on a discussion: https://gitlab.com/gnutls/gnutls/issues/802#note_192201926

> Even if the user doesn't want the keylog file feature, the additional overhead in the init function would be just one call of secure_getenv.

Since `_gnutls_nss_keylog_deinit()` is already called from `_gnutls_global_deinit()`, we can split out `gnutls_nss_keylog_init()` and call it from ` _gnutls_global_init()`.

Then we wouldn't need `pthread_once()`.

WDYT ?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/802#note_192201926
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190716/ae761c85/attachment.html>


More information about the Gnutls-devel mailing list