/* set the SSL verifying of the SSL context  */
void SSL_set_verify(SSL *ssl, int mode, int(*verify_callback)(int, X509_STORE_CTX *))
/* set the SSL verifying of the SSL context  */
void SSL_set_verify(SSL *ssl, int mode, int(*verify_callback)(int, X509_STORE_CTX *))
{
    SSL_ASSERT3(ssl);
    ssl->verify_mode = mode;
    ssl->verify_callback = verify_callback;
}