OpenSSL ssl_certificate_is_invalid(): Remove a log message
authorFabian Keil <fk@fabiankeil.de>
Wed, 13 Jan 2021 15:24:55 +0000 (16:24 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 18 Jan 2021 13:30:33 +0000 (14:30 +0100)
... if the certificate can't be read.

ssl_certificate_load() already emits an error message.

openssl.c

index cfcc59e..73aadeb 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -1616,8 +1616,6 @@ static int ssl_certificate_is_invalid(const char *cert_file)
 
    if (!(cert = ssl_certificate_load(cert_file)))
    {
-      log_ssl_errors(LOG_LEVEL_ERROR,
-         "Error reading certificate file %s", cert_file);
       return 1;
    }