tls_init() function
tls_init - Initialize TLS library @conf: Configuration data for TLS library Returns: Context data to be used as tls_ctx in calls to other functions, or %NULL on failure. Called once during program startup and once for each RSN pre-authentication session. In other words, there can be two concurrent TLS contexts. If global library initialization is needed (i.e., one that is shared between both authentication types), the TLS library wrapper should maintain a reference counter and do global initialization only when moving from 0 to 1 reference.
tls_init() is called by 1 function and calls 2 functions:
![]()
tls_init()
tls_init() reads 5 variables and writes 5 variables:
![]()
tls_init()
tls_init() frees 1 types:
![]()
tls_init()