]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/SslError.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / SslError.h
index e18cf1c7bcaf84dc85d1789fec581f69531de223..036a3994cbe0386a0b93ddd035ba98e7154b5838 100644 (file)
@@ -1,18 +1,22 @@
-
 /*
- * $Id$
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
 #ifndef SQUID_ACLSSL_ERROR_H
 #define SQUID_ACLSSL_ERROR_H
-#include "acl/Strategy.h"
+
 #include "acl/Strategised.h"
+#include "acl/Strategy.h"
 
-class ACLSslErrorStrategy : public ACLStrategy<int>
+class ACLSslErrorStrategy : public ACLStrategy<const Security::CertErrors *>
 {
 
 public:
-    virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *);
+    virtual int match (ACLData<MatchType> * &, ACLFilledChecklist *, ACLFlags &);
     static ACLSslErrorStrategy *Instance();
     /* Not implemented to prevent copies of the instance. */
     /* Not private to prevent brain dead g+++ warnings about
@@ -31,7 +35,8 @@ class ACLSslError
 
 private:
     static ACL::Prototype RegistryProtoype;
-    static ACLStrategised<int> RegistryEntry_;
+    static ACLStrategised<const Security::CertErrors *> RegistryEntry_;
 };
 
 #endif /* SQUID_ACLSSL_ERROR_H */
+