mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-06 21:15:22 +00:00
Fix comment about GNUTLS initialization/cleanup
(cherry picked from commit 20171c8dc0
)
This commit is contained in:
parent
194d0b8b0a
commit
f9d589cc41
@ -1423,9 +1423,13 @@ void virNetTLSSessionFree(virNetTLSSessionPtr sess)
|
|||||||
* virNetTLS* because it initializes
|
* virNetTLS* because it initializes
|
||||||
* underlying GnuTLS library. According to
|
* underlying GnuTLS library. According to
|
||||||
* it's documentation, it's safe to be called
|
* it's documentation, it's safe to be called
|
||||||
* many times, but is not thread safe. Each
|
* many times, but is not thread safe.
|
||||||
* call SHOULD be later followed by
|
*
|
||||||
* virNetTLSContextDeinit.
|
* There is no corresponding "Deinit" / "Cleanup"
|
||||||
|
* function because there is no safe way to call
|
||||||
|
* 'gnutls_global_deinit' from a multi-threaded
|
||||||
|
* library, where other libraries linked into the
|
||||||
|
* application may also be using gnutls.
|
||||||
*/
|
*/
|
||||||
void virNetTLSInit(void)
|
void virNetTLSInit(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user