aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/tls/asio/asio_async_ops.h2
-rw-r--r--src/lib/tls/asio/asio_stream.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/tls/asio/asio_async_ops.h b/src/lib/tls/asio/asio_async_ops.h
index 34d9ce0dd..3520db770 100644
--- a/src/lib/tls/asio/asio_async_ops.h
+++ b/src/lib/tls/asio/asio_async_ops.h
@@ -112,7 +112,7 @@ class AsyncReadOperation : public AsyncBase<Handler, typename Stream::executor_t
{
public:
/**
- * Construct and invoke an AsyncWriteOperation.
+ * Construct and invoke an AsyncReadOperation.
*
* @param handler Handler function to be called upon completion.
* @param stream The stream from which the data will be read
diff --git a/src/lib/tls/asio/asio_stream.h b/src/lib/tls/asio/asio_stream.h
index 4449cb14a..c0f8c73f4 100644
--- a/src/lib/tls/asio/asio_stream.h
+++ b/src/lib/tls/asio/asio_stream.h
@@ -495,9 +495,9 @@ class Stream
//! @}
protected:
- template <typename> friend class detail::AsyncWriteOperation;
- template <typename> friend class detail::AsyncReadOperation;
- template <typename> friend class detail::AsyncHandshakeOperation;
+ template <class H, class S, class M, class A> friend class detail::AsyncReadOperation;
+ template <class H, class S, class A> friend class detail::AsyncWriteOperation;
+ template <class H, class S, class A> friend class detail::AsyncHandshakeOperation;
/**
* @brief Helper class that implements Botan::TLS::Callbacks