1 //
2 // ssl/detail/openssl_types.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 
11 #ifndef ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP
12 #define ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP
13 
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 # pragma once
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 
18 #include "asio/detail/config.hpp"
19 #include <openssl/conf.h>
20 /* Workaround for libressl 3.4.1 and maybe earlier: The
21  * SSL_CTX gets only forward declared unless LIBRESSL_INTERNAL
22  * is defined before including ssl.h header. */
23 #define LIBRESSL_INTERNAL
24 #include <openssl/ssl.h>
25 #if !defined(OPENSSL_NO_ENGINE)
26 # include <openssl/engine.h>
27 #endif // !defined(OPENSSL_NO_ENGINE)
28 #include <openssl/dh.h>
29 #include <openssl/err.h>
30 #include <openssl/rsa.h>
31 #include <openssl/x509v3.h>
32 #include "asio/detail/socket_types.hpp"
33 
34 #endif // ASIO_SSL_DETAIL_OPENSSL_TYPES_HPP
35