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