aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/asio/asio_stream.h
diff options
context:
space:
mode:
authorTim Oesterreich <[email protected]>2019-02-25 13:17:32 +0100
committerHannes Rantzsch <[email protected]>2019-04-16 10:47:59 +0200
commit4c014371f06ff2057b76f7527a66f396e8be5a1b (patch)
tree9a073066daf8a40a1511899a7bbf032d4740a201 /src/lib/tls/asio/asio_stream.h
parent5423ddfe4c58f4fe69107310c0ae4bdcbf891e48 (diff)
do not use make_error_code and smaller PR review issues
Diffstat (limited to 'src/lib/tls/asio/asio_stream.h')
-rw-r--r--src/lib/tls/asio/asio_stream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/tls/asio/asio_stream.h b/src/lib/tls/asio/asio_stream.h
index 0d31b24d4..1abad507a 100644
--- a/src/lib/tls/asio/asio_stream.h
+++ b/src/lib/tls/asio/asio_stream.h
@@ -108,7 +108,7 @@ class Stream final : public StreamBase<Channel>
boost::system::error_code& ec)
{
BOTAN_UNUSED(callback);
- ec = make_error_code(Botan::TLS::error::not_implemented);
+ ec = Botan::TLS::error::not_implemented;
}
void set_verify_depth(int depth)
@@ -121,7 +121,7 @@ class Stream final : public StreamBase<Channel>
boost::system::error_code& ec)
{
BOTAN_UNUSED(depth);
- ec = make_error_code(Botan::TLS::error::not_implemented);
+ ec = Botan::TLS::error::not_implemented;
}
template <typename verify_mode>
@@ -136,7 +136,7 @@ class Stream final : public StreamBase<Channel>
boost::system::error_code& ec)
{
BOTAN_UNUSED(v);
- ec = make_error_code(Botan::TLS::error::not_implemented);
+ ec = Botan::TLS::error::not_implemented;
}
//
@@ -245,7 +245,7 @@ class Stream final : public StreamBase<Channel>
{
BOTAN_UNUSED(buffers);
if(validate_handshake_type(type, ec))
- { ec = make_error_code(Botan::TLS::error::not_implemented); }
+ { ec = Botan::TLS::error::not_implemented; }
}
template <typename ConstBufferSequence, typename BufferedHandshakeHandler>