summaryrefslogtreecommitdiff
path: root/src/mongo/executor
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2018-02-13 14:07:53 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2018-02-13 14:07:53 -0500
commit3924664a0d09741671a08c9507d440ae79384cb6 (patch)
treeb1643881a8552a1b7e687032f0eb70d30c200523 /src/mongo/executor
parent0f4b9e146be4cf9b612e34c500d91b4fdb91b07a (diff)
downloadmongo-3924664a0d09741671a08c9507d440ae79384cb6.tar.gz
SERVER-33267 Create classes that implement asio::stream concept
Diffstat (limited to 'src/mongo/executor')
-rw-r--r--src/mongo/executor/SConscript1
-rw-r--r--src/mongo/executor/async_secure_stream.h2
-rw-r--r--src/mongo/executor/async_secure_stream_factory.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/executor/SConscript b/src/mongo/executor/SConscript
index 3311078ea58..37c065a44af 100644
--- a/src/mongo/executor/SConscript
+++ b/src/mongo/executor/SConscript
@@ -181,6 +181,7 @@ env.Library(
LIBDEPS=[
'$BUILD_DIR/mongo/base/system_error',
'$BUILD_DIR/mongo/client/authentication',
+ '$BUILD_DIR/mongo/util/net/ssl_stream',
'$BUILD_DIR/third_party/shim_asio',
'task_executor_interface',
]
diff --git a/src/mongo/executor/async_secure_stream.h b/src/mongo/executor/async_secure_stream.h
index 6ea222e8a8d..cead9d6fada 100644
--- a/src/mongo/executor/async_secure_stream.h
+++ b/src/mongo/executor/async_secure_stream.h
@@ -33,9 +33,9 @@
#ifdef MONGO_CONFIG_SSL
#include <asio.hpp>
-#include <asio/ssl.hpp>
#include "mongo/executor/async_stream_interface.h"
+#include "mongo/util/net/ssl.hpp"
namespace mongo {
namespace executor {
diff --git a/src/mongo/executor/async_secure_stream_factory.h b/src/mongo/executor/async_secure_stream_factory.h
index 4d08af71eff..ad25ad487d9 100644
--- a/src/mongo/executor/async_secure_stream_factory.h
+++ b/src/mongo/executor/async_secure_stream_factory.h
@@ -33,9 +33,9 @@
#ifdef MONGO_CONFIG_SSL
#include <asio.hpp>
-#include <asio/ssl.hpp>
#include "mongo/executor/async_stream_factory_interface.h"
+#include "mongo/util/net/ssl.hpp"
namespace mongo {
class SSLManagerInterface;