ssl_certificate_is_invalid(): If the validity check fails, consider the certificate...
authorFabian Keil <fk@fabiankeil.de>
Wed, 23 Sep 2020 09:19:32 +0000 (11:19 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sat, 26 Sep 2020 09:16:03 +0000 (11:16 +0200)
openssl.c

index 7e4e3d8..d911aff 100644 (file)
--- a/openssl.c
+++ b/openssl.c
@@ -1578,6 +1578,7 @@ static int ssl_certificate_is_invalid(const char *cert_file)
    {
       log_ssl_errors(LOG_LEVEL_ERROR,
          "Error checking certificate %s validity", cert_file);
+      ret = -1;
    }
 
    X509_free(cert);