diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-12-25 04:38:07 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-12-25 04:38:07 +0000 |
commit | c84f28d98e6323ea9f72806f041aec906bebf83b (patch) | |
tree | 8862e2c6f7672b662f9758abcd9d1544950af724 /socket.c | |
parent | 346f8cd485a03797a26ce9dfc45e21965b23ff32 (diff) | |
download | fetchmail-c84f28d98e6323ea9f72806f041aec906bebf83b.tar.gz fetchmail-c84f28d98e6323ea9f72806f041aec906bebf83b.tar.bz2 fetchmail-c84f28d98e6323ea9f72806f041aec906bebf83b.zip |
Make silent mode silent.
svn path=/trunk/; revision=3567
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -794,13 +794,16 @@ int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) } tp += esz; } - report(stdout, GT_("%s key fingerprint: %s\n"), _server_label, text); + if (outlevel > O_SILENT) + report(stdout, GT_("%s key fingerprint: %s\n"), _server_label, text); if (_check_digest != NULL) { if (strcmp(text, _check_digest) == 0) + if (outlevel > O_SILENT) report(stdout, GT_("%s fingerprints match.\n"), _server_label); else { + if (outlevel > O_SILENT) report(stderr, GT_("%s fingerprints do not match!\n"), _server_label); - return (0); + return (0); } } } |