]> git.ipfire.org Git - thirdparty/squid.git/blob - src/security/forward.h
Merge fixes for some issues reported by Coverity
[thirdparty/squid.git] / src / security / forward.h
1 /*
2 * Copyright (C) 1996-2015 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_SRC_SECURITY_FORWARD_H
10 #define SQUID_SRC_SECURITY_FORWARD_H
11
12 #include "security/Context.h"
13 #include "security/Session.h"
14
15 /* flags a SSL connection can be configured with */
16 #define SSL_FLAG_NO_DEFAULT_CA (1<<0)
17 #define SSL_FLAG_DELAYED_AUTH (1<<1)
18 #define SSL_FLAG_DONT_VERIFY_PEER (1<<2)
19 #define SSL_FLAG_DONT_VERIFY_DOMAIN (1<<3)
20 #define SSL_FLAG_NO_SESSION_REUSE (1<<4)
21 #define SSL_FLAG_VERIFY_CRL (1<<5)
22 #define SSL_FLAG_VERIFY_CRL_ALL (1<<6)
23
24 /// Network/connection security abstraction layer
25 namespace Security
26 {
27
28 class EncryptorAnswer;
29 class PeerOptions;
30
31 } // namespace Security
32
33 #endif /* SQUID_SRC_SECURITY_FORWARD_H */
34