]> Pileus Git - ~andy/fetchmail/commitdiff
Typo fix.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 28 Jun 2000 14:42:44 +0000 (14:42 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 28 Jun 2000 14:42:44 +0000 (14:42 -0000)
svn path=/trunk/; revision=2918

socket.c

index f5d98e9a3f9fffba902e6c57fe0761bb91ba9271..89de862a16b9539ed7b20dfcf701f646dc0b5830 100644 (file)
--- 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 );