blob: b1907ed70948c6c60f4bea2a6e460ac26291278b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
//
// impl/ssl/src.hpp
// ~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_SSL_IMPL_SRC_HPP
#define ASIO_SSL_IMPL_SRC_HPP
#define ASIO_SOURCE
#include <asio/detail/config.hpp>
#if defined(ASIO_HEADER_ONLY)
#error Do not compile Asio library source with ASIO_HEADER_ONLY defined
#endif
#if MONGO_CONFIG_SSL_PROVIDER == MONGO_CONFIG_SSL_PROVIDER_WINDOWS
#include "mongo/util/net/ssl/detail/impl/engine_schannel.ipp"
#include "mongo/util/net/ssl/detail/impl/schannel.ipp"
#include "mongo/util/net/ssl/impl/context_schannel.ipp"
#include "mongo/util/net/ssl/impl/error.ipp"
#elif MONGO_CONFIG_SSL_PROVIDER == MONGO_CONFIG_SSL_PROVIDER_OPENSSL
#include "mongo/util/net/ssl/detail/impl/engine_openssl.ipp"
#include "mongo/util/net/ssl/impl/context_openssl.ipp"
#include "mongo/util/net/ssl/impl/error.ipp"
#elif MONGO_CONFIG_SSL_PROVIDER == MONGO_CONFIG_SSL_PROVIDER_APPLE
#include "mongo/util/net/ssl/detail/impl/engine_apple.ipp"
#include "mongo/util/net/ssl/impl/error.ipp"
#else
#error "Unknown SSL Provider"
#endif
#endif // ASIO_SSL_IMPL_SRC_HPP
|