#include "fde.h"
#include "HttpStatusCode.h"
#include "ip/Address.h"
-#if USE_SSL //&& USE_SSL_CERT_VALIDATOR
+#if USE_SSL
#include "ssl/support.h"
#endif
class ErrorState;
class HttpRequest;
-#if USE_SSL //&& USE_SSL_CERT_VALIDATOR
+#if USE_SSL
namespace Ssl
{
class ErrorDetail;
/** return a ConnectionPointer to the current server connection (may or may not be open) */
Comm::ConnectionPointer const & serverConnection() const { return serverConn; };
-#if USE_SSL //&& USE_SSL_CERT_VALIDATOR
+#if USE_SSL
/// Callback function called when squid receive message from cert validator helper
static void sslCrtvdHandleReplyWrapper(void *data, const HelperReply &reply);
/// Process response from cert validator helper
/// The number of processes spawn for ssl_crtd.
HelperChildConfig ssl_crtdChildren;
#endif
-#if 1 // USE_SSL_CERT_VALIDATOR
char *ssl_crt_validator;
HelperChildConfig ssl_crt_validator_Children;
-#endif
Config();
~Config();
private:
};
#endif
-#if 1 // USE_SSL_CERT_VALIDATOR
class CertValidationHelper
{
public:
helper * ssl_crt_validator; ///< helper for management of ssl_crtd.
};
-#endif // USE_SSL_CERT_VALIDATOR
} //namespace Ssl
#endif // SQUID_SSL_HELPER_H