aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-01-04 15:04:38 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-01-04 15:04:38 +0000
commitb4f2a65d7e700082cf369653fec64e46134f68b1 (patch)
tree733eebb345416086faf1e86b28b2f50ca882eb2f /socket.c
parentadeda0993a35bc7aba3bbf9cff9165beeda59bd1 (diff)
downloadfetchmail-b4f2a65d7e700082cf369653fec64e46134f68b1.tar.gz
fetchmail-b4f2a65d7e700082cf369653fec64e46134f68b1.tar.bz2
fetchmail-b4f2a65d7e700082cf369653fec64e46134f68b1.zip
Add a comment.
svn path=/branches/BRANCH_6-3/; revision=4595
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c4
1 files changed, 4 insertions, 0 deletions
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);