Fix inconsistent behaviour with respect to verify_callback handling.

This commit is contained in:
Lutz Jänicke
2001-07-30 11:45:34 +00:00
parent 06efc222f9
commit 1f0c9ad7e1
4 changed files with 12 additions and 2 deletions

View File

@@ -1361,8 +1361,6 @@ void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,int (*cb)(int, X509_STORE_CTX *))
{
ctx->verify_mode=mode;
ctx->default_verify_callback=cb;
/* This needs cleaning up EAY EAY EAY */
X509_STORE_set_verify_cb_func(ctx->cert_store,cb);
}
void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth)