summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asiolink')
-rw-r--r--src/lib/asiolink/openssl_tls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/asiolink/openssl_tls.h b/src/lib/asiolink/openssl_tls.h
index 749d704e68..8b244d03e7 100644
--- a/src/lib/asiolink/openssl_tls.h
+++ b/src/lib/asiolink/openssl_tls.h
@@ -247,6 +247,7 @@ public:
///
/// @param service I/O Service object used to manage the stream.
/// @param context Pointer to the TLS context.
+ /// @note The caller must not provide a null pointer to the TLS context.
TlsStream(IOService& service, TlsContextPtr context)
: TlsStreamImpl(service.get_io_service(), context->getContext()),
role_(context->role_) {