diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-01-16 17:40:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-01-16 17:40:22 +0000 |
commit | 1678177dafd26844079cff785865550e0b1ddb41 (patch) | |
tree | b20e19f3d24612aa16034f4bdef0b57c900bd01b /socket.c | |
parent | f7ca66b6c85e50afffeeb891565acfa537828445 (diff) | |
download | fetchmail-1678177dafd26844079cff785865550e0b1ddb41.tar.gz fetchmail-1678177dafd26844079cff785865550e0b1ddb41.tar.bz2 fetchmail-1678177dafd26844079cff785865550e0b1ddb41.zip |
Various minor fixes.
svn path=/trunk/; revision=2710
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -530,10 +530,10 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx ) *str_ptr = '\0'; } if (outlevel == O_VERBOSE) - report(stdout, "Issuer Organization: %s", cbuf ); + report(stdout, "Issuer Organization: %s\n", cbuf ); } else { if (outlevel == O_VERBOSE) - report(stdout, "Unknown Organization", cbuf ); + report(stdout, "Unknown Organization\n", cbuf ); } if( ( str_ptr = strstr( ibuf, "/CN=" ) ) ) { str_ptr += 4; @@ -542,10 +542,10 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx ) *str_ptr = '\0'; } if (outlevel == O_VERBOSE) - report(stdout, "Issuer CommonName: %s", cbuf ); + report(stdout, "Issuer CommonName: %s\n", cbuf ); } else { if (outlevel == O_VERBOSE) - report(stdout, "Unknown Issuer CommonName", cbuf ); + report(stdout, "Unknown Issuer CommonName\n", cbuf ); } if( ( str_ptr = strstr( buf, "/CN=" ) ) ) { str_ptr += 4; @@ -554,14 +554,17 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx ) *str_ptr = '\0'; } if (outlevel == O_VERBOSE) - report(stdout, "Server CommonName: %s", cbuf ); + report(stdout, "Server CommonName: %s\n", cbuf ); /* Should we have some wildcarding here? */ - if ( NULL != _ssl_server_cname && 0 != strcmp( cbuf, _ssl_server_cname ) ) { - report(stdout, "Server CommonName mismatch: %s != %s", cbuf, _ssl_server_cname ); + if ( NULL != _ssl_server_cname + && 0 != strcmp( cbuf, _ssl_server_cname ) ) { + report(stdout, + "Server CommonName mismatch: %s != %s\n", + cbuf, _ssl_server_cname ); } } else { if (outlevel == O_VERBOSE) - report(stdout, "Unknown Server CommonName", cbuf ); + report(stdout, "Unknown Server CommonName\n", cbuf ); } } |