diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | socket.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -57,6 +57,9 @@ fetchmail 6.3.10 (not yet released): * Do not overlap source and destination fields in snprintf() in interface.c. Courtesy of Nico Golde, Debian. +# CHANGES +* Make the comparison of the SSL fingerprints case insensitive, to + ease its use. Suggested by Daniel Richard G. # TRANSLATION UPDATES AND ADDITIONS (ordered by language name): * [it] Italian (Vincenzo Campanella) @@ -717,7 +717,7 @@ static int SSL_verify_callback( int ok_return, X509_STORE_CTX *ctx, int strict ) if (outlevel > O_NORMAL) report(stdout, GT_("%s key fingerprint: %s\n"), _server_label, text); if (_check_digest != NULL) { - if (strcmp(text, _check_digest) == 0) { + if (strcasecmp(text, _check_digest) == 0) { if (outlevel > O_NORMAL) report(stdout, GT_("%s fingerprints match.\n"), _server_label); } else { |