]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
openssl: remove dead code
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Nov 2016 22:11:38 +0000 (23:11 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 24 Nov 2016 22:41:45 +0000 (23:41 +0100)
Coverity CID 1394666

lib/vtls/openssl.c

index 465d1bef61c539498ba4b39ee3034aa7e90112f4..f6dd529b03db18082ebf1edb74295898a10db81a 100644 (file)
@@ -2097,7 +2097,7 @@ static CURLcode ossl_connect_step1(struct connectdata *conn, int sockindex)
       X509_STORE_set_flags(SSL_CTX_get_cert_store(connssl->ctx),
                            X509_V_FLAG_CRL_CHECK|X509_V_FLAG_CRL_CHECK_ALL);
     }
-    infof(data, "  CRLfile: %s\n", ssl_crlfile ? ssl_crlfile: "none");
+    infof(data, "  CRLfile: %s\n", ssl_crlfile);
   }
 
   /* Try building a chain using issuers in the trusted store first to avoid