Home
last modified time | relevance | path

Searched refs:tls_gnutls_ref_count (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/wpa/src/crypto/
H A Dtls_gnutls.c24 static int tls_gnutls_ref_count = 0; variable
101 if (tls_gnutls_ref_count == 0) { in tls_init()
111 if (tls_gnutls_ref_count == 0 && gnutls_global_init() < 0) { in tls_init()
115 tls_gnutls_ref_count++; in tls_init()
142 tls_gnutls_ref_count--; in tls_deinit()
143 if (tls_gnutls_ref_count == 0) in tls_deinit()