From 968b000d57ba0b5b8baf2d98d4a58cf750a9933b Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 26 Jun 2017 07:57:42 +1200 Subject: [PATCH] Fix --with-openssl --without-ssl-crtd build errors The validation and cert generation helpers are independent. --- src/ssl/helper.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2