Hello,
I 'd like to know at what time have I to call SSL_free( ) and SSL_CTX_free(
)
1) For example, I call SSL_CTX_free( ) when a call to a function which fill
in the CTX fails ( SSL_CTX_set_cipher_list( ), SSL_CTX_use_certificate_file(
), ..., SSL_CTX_set_verify( ) ). I am wondering if it is a good idea.
2) I call both SSL_free( ) and SSL_CTX_free( ) when a function using SSL
object fails. it concerns  SSL_connect( ), SSL_accept( ),
SSL_get_verify_result(), ... is that OK ?
thanks

Reply via email to