update boost
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// ssl/context.hpp
|
||||
// ~~~~~~~~~~~~~~~
|
||||
//
|
||||
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||
// Copyright (c) 2003-2023 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)
|
||||
@@ -44,6 +44,9 @@ public:
|
||||
/// Constructor.
|
||||
BOOST_ASIO_DECL explicit context(method m);
|
||||
|
||||
/// Construct to take ownership of a native handle.
|
||||
BOOST_ASIO_DECL explicit context(native_handle_type native_handle);
|
||||
|
||||
#if defined(BOOST_ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION)
|
||||
/// Move-construct a context from another.
|
||||
/**
|
||||
@@ -739,6 +742,9 @@ private:
|
||||
// Helper function to make a BIO from a memory buffer.
|
||||
BOOST_ASIO_DECL BIO* make_buffer_bio(const const_buffer& b);
|
||||
|
||||
// Translate an SSL error into an error code.
|
||||
BOOST_ASIO_DECL static boost::system::error_code translate_error(long error);
|
||||
|
||||
// The underlying native implementation.
|
||||
native_handle_type handle_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user