aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-06-28 14:42:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-06-28 14:42:44 +0000
commit83695c261d19a7200f6326a81b3f5a356c3c0bbc (patch)
tree3a2d88f1d3dae6e8e6c7aa1d79238c610f704c73 /socket.c
parent488ba96d1c3944aba5328947c56dd67f5163ab3f (diff)
downloadfetchmail-83695c261d19a7200f6326a81b3f5a356c3c0bbc.tar.gz
fetchmail-83695c261d19a7200f6326a81b3f5a356c3c0bbc.tar.bz2
fetchmail-83695c261d19a7200f6326a81b3f5a356c3c0bbc.zip
Typo fix.
svn path=/trunk/; revision=2918
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 f5d98e9a..89de862a 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 != strcasemp( cbuf, _ssl_server_cname ) ) {
+ && 0 != strcasecmp( cbuf, _ssl_server_cname ) ) {
report(stdout,
"Server CommonName mismatch: %s != %s\n",
cbuf, _ssl_server_cname );