[gnutls-devel] GnuTLS | GnuTLS docs are not clear about thread-safety of intialization ? (#900)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jan 9 12:01:16 CET 2020

Daniel Stenberg commented:

Tim's quote is from an email by me.

I've written code using GnuTLS since 2005 and our code (curl) still works to build with older GnuTLS versions. We have calls to gnutls_global_init() in the code base.

I decided I should check up on the current state of this function and need for it, and the docs for the function is still there and it says the function isn't thread-safe. Then I found this initialization page that says we don't need to call gnutls_global_init - but it doesn't explicitly say anything about thread safety. I didn't actually consider to then search for the dedicated thread-safety page, which I of course should have...

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/900#note_269093521
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/20200109/7a412fb9/attachment.html>

More information about the Gnutls-devel mailing list