aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-06-28 00:12:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-06-28 00:12:38 +0000
commit453cba9d2c57bf23987abace226f279d5d24f1a1 (patch)
tree480db54f58485e1464ac52b2a380103adf9dad9d /socket.c
parentef3579cb8447cde2050229a20ffd9300c71715ea (diff)
downloadfetchmail-453cba9d2c57bf23987abace226f279d5d24f1a1.tar.gz
fetchmail-453cba9d2c57bf23987abace226f279d5d24f1a1.tar.bz2
fetchmail-453cba9d2c57bf23987abace226f279d5d24f1a1.zip
Minor corrections.
svn path=/trunk/; revision=2906
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 8c64d5f2..8c367d0c 100644
--- a/socket.c
+++ b/socket.c
@@ -602,7 +602,7 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx )
report(stdout, "Server CommonName: %s\n", cbuf );
/* Should we have some wildcarding here? */
if ( NULL != _ssl_server_cname
- && 0 != strcmp( cbuf, _ssl_server_cname ) ) {
+ && 0 != strcasemp( cbuf, _ssl_server_cname ) ) {
report(stdout,
"Server CommonName mismatch: %s != %s\n",
cbuf, _ssl_server_cname );