]> git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/SslError.h
ba2b58927350d8fd7e8e1711eb811928735c1995
[thirdparty/squid.git] / src / acl / SslError.h
1 /*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 #ifndef SQUID_ACLSSL_ERROR_H
10 #define SQUID_ACLSSL_ERROR_H
11
12 #include "acl/Data.h"
13 #include "acl/ParameterizedNode.h"
14 #include "security/forward.h"
15
16 namespace Acl
17 {
18
19 /// an "ssl_error" ACL
20 class CertificateErrorCheck: public ParameterizedNode< ACLData<const Security::CertErrors *> >
21 {
22 public:
23 /* Acl::Node API */
24 int match(ACLChecklist *) override;
25 };
26
27 } // namespace Acl
28
29 #endif /* SQUID_ACLSSL_ERROR_H */
30