File indexing completed on 2025-01-18 09:29:02
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_ASIO_SSL_VERIFY_MODE_HPP
0012 #define BOOST_ASIO_SSL_VERIFY_MODE_HPP
0013
0014 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/asio/detail/config.hpp>
0019 #include <boost/asio/ssl/detail/openssl_types.hpp>
0020
0021 #include <boost/asio/detail/push_options.hpp>
0022
0023 namespace boost {
0024 namespace asio {
0025 namespace ssl {
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 typedef int verify_mode;
0037
0038 #if defined(GENERATING_DOCUMENTATION)
0039
0040 const int verify_none = implementation_defined;
0041
0042
0043 const int verify_peer = implementation_defined;
0044
0045
0046
0047 const int verify_fail_if_no_peer_cert = implementation_defined;
0048
0049
0050
0051 const int verify_client_once = implementation_defined;
0052 #else
0053 const int verify_none = SSL_VERIFY_NONE;
0054 const int verify_peer = SSL_VERIFY_PEER;
0055 const int verify_fail_if_no_peer_cert = SSL_VERIFY_FAIL_IF_NO_PEER_CERT;
0056 const int verify_client_once = SSL_VERIFY_CLIENT_ONCE;
0057 #endif
0058
0059 }
0060 }
0061 }
0062
0063 #include <boost/asio/detail/pop_options.hpp>
0064
0065 #endif