Handshake Information Callback
The handshake information callback is invoked during an SSL/TLS handshake. This callback is useful when debugging applications. It is set with the RWSecureSocket::setInfoCallback() function. The signature of the callback function is:
 
extern “C” void info_callback(SSL* ssl, int where, int ret);
The ssl parameter is the ssl connection instance. The where parameter indicates where the callback was called from. The ret parameter is not used.
Normally, the callback is written so that it switches on the where parameter. Each case statement would output a string that indicates the meaning of the where parameter.
For more information, see the description of SSL_set_info_cb() and ssl_info_cb() in the OpenSSL reference manual.