tls_connection_set_params() function
tls_connection_set_params - Set TLS connection parameters @tls_ctx: TLS context data from tls_init() @conn: Connection context data from tls_connection_init() @params: Connection parameters Returns: 0 on success, -1 on failure, TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on error causing PKCS#11 engine failure, or TLS_SET_PARAMS_ENGINE_PRV_VERIFY_FAILED (-3) on failure to verify the PKCS#11 engine private key, or TLS_SET_PARAMS_ENGINE_PRV_BAD_PIN (-4) on PIN error causing PKCS#11 engine failure.
tls_connection_set_params() is called by 1 function and calls 11 functions:
![]()
tls_connection_set_params()
tls_connection_set_params() reads 21 variables and writes 1 variable:
![]()
tls_connection_set_params()
tls_connection_set_params() allocates 1 types and frees 1 types:
![]()
tls_connection_set_params()