]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix --with-openssl --without-ssl-crtd build errors
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 25 Jun 2017 19:57:42 +0000 (07:57 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 25 Jun 2017 19:57:42 +0000 (07:57 +1200)
The validation and cert generation helpers are independent.

src/ssl/helper.cc

index e0e343c95aee171a272bc4d0faea9693c9a8ee4a..2a36266a128393be30e08a69a5faad04435eff96 100644 (file)
@@ -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;