Fix inconsistent behaviour with respect to verify_callback handling.

This commit is contained in:
Lutz Jänicke
2001-07-30 11:48:20 +00:00
parent 7146221bbe
commit 03a70bad4f
4 changed files with 12 additions and 2 deletions

View File

@@ -1293,8 +1293,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)