summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink/openssl_tls.h
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2021-02-18 20:01:06 +0100
committerFrancis Dupont <fdupont@isc.org>2021-03-24 09:09:02 +0100
commit530456e5b0f7807757c215e28370a7f4e38b64c3 (patch)
tree1fb7282a0b8bd9d719b1f8f1a8e6b638796ef800 /src/lib/asiolink/openssl_tls.h
parent[#1661] Added noHandshake (diff)
downloadkea-530456e5b0f7807757c215e28370a7f4e38b64c3.tar.xz
kea-530456e5b0f7807757c215e28370a7f4e38b64c3.zip
[#1661] Added some unit tests for common cert error cases
Diffstat (limited to 'src/lib/asiolink/openssl_tls.h')
-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_) {