From: Amos Jeffries Date: Sun, 6 Nov 2016 15:57:02 +0000 (+1300) Subject: security_file_certgen: remove useless get() X-Git-Tag: SQUID_4_0_17~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=754f901e689004b05457e0b17f069842c2ea5f5a;p=thirdparty%2Fsquid.git security_file_certgen: remove useless get() --- diff --git a/src/security/cert_generators/file/security_file_certgen.cc b/src/security/cert_generators/file/security_file_certgen.cc index 2b4bbd6452..0e7fd9a162 100644 --- a/src/security/cert_generators/file/security_file_certgen.cc +++ b/src/security/cert_generators/file/security_file_certgen.cc @@ -200,7 +200,7 @@ static bool processNewRequest(Ssl::CrtdMessage & request_message, std::string co error = err.what(); } - if (cert.get()) { + if (cert) { if (!Ssl::certificateMatchesProperties(cert.get(), certProperties)) { // The certificate changed (renewed or other reason). // Generete a new one with the updated fields.