]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/SslError.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / acl / SslError.cc
index 5a19853c3b89cab90da3bdc62922448b41cfe8fe..bf82936a0ca99e51e3bc3920e150029649b92602 100644 (file)
@@ -1,23 +1,20 @@
-
 /*
- * $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.
  */
 
 #include "squid.h"
+#include "acl/Checklist.h"
 #include "acl/SslError.h"
 #include "acl/SslErrorData.h"
-#include "acl/Checklist.h"
-
-/* explicit template instantiation required for some systems */
-
-template class ACLStrategised<int>;
-
-
 
 int
-ACLSslErrorStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
+ACLSslErrorStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist, ACLFlags &)
 {
-    return data->match (checklist->ssl_error);
+    return data->match (checklist->sslErrors);
 }
 
 ACLSslErrorStrategy *
@@ -27,3 +24,4 @@ ACLSslErrorStrategy::Instance()
 }
 
 ACLSslErrorStrategy ACLSslErrorStrategy::Instance_;
+