From b4f2a65d7e700082cf369653fec64e46134f68b1 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 4 Jan 2006 15:04:38 +0000 Subject: Add a comment. svn path=/branches/BRANCH_6-3/; revision=4595 --- socket.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/socket.c b/socket.c index dbd8ce14..66783516 100644 --- a/socket.c +++ b/socket.c @@ -754,6 +754,10 @@ static int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) break; } } + /* + * If not in strict checking mode (--sslcertck), override this + * and pretend that verification had succeeded. + */ if (!strict) ok_return = 1; return (ok_return); -- cgit v1.2.3