From: Amos Jeffries Date: Sun, 25 Jun 2017 19:57:42 +0000 (+1200) Subject: Fix --with-openssl --without-ssl-crtd build errors X-Git-Tag: M-staged-PR71~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=968b000d57ba0b5b8baf2d98d4a58cf750a9933b;p=thirdparty%2Fsquid.git Fix --with-openssl --without-ssl-crtd build errors The validation and cert generation helpers are independent. --- diff --git a/src/ssl/helper.cc b/src/ssl/helper.cc index e0e343c95a..2a36266a12 100644 --- a/src/ssl/helper.cc +++ b/src/ssl/helper.cc @@ -19,6 +19,8 @@ #include "ssl/helper.h" #include "wordlist.h" +Ssl::CertValidationHelper::LruCache *Ssl::CertValidationHelper::HelperCache = nullptr; + #if USE_SSL_CRTD namespace Ssl { @@ -65,8 +67,6 @@ operator <<(std::ostream &os, const Ssl::GeneratorRequest &gr) /// pending Ssl::Helper requests (to all certificate generator helpers combined) static Ssl::GeneratorRequests TheGeneratorRequests; -Ssl::CertValidationHelper::LruCache *Ssl::CertValidationHelper::HelperCache = nullptr; - Ssl::Helper * Ssl::Helper::GetInstance() { static Ssl::Helper sslHelper;