aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/asio/asio_stream_base.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_base.h
parent5423ddfe4c58f4fe69107310c0ae4bdcbf891e48 (diff)
do not use make_error_code and smaller PR review issues
Diffstat (limited to 'src/lib/tls/asio/asio_stream_base.h')
-rw-r--r--src/lib/tls/asio/asio_stream_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/asio/asio_stream_base.h b/src/lib/tls/asio/asio_stream_base.h
index ecda81360..44f36d3d9 100644
--- a/src/lib/tls/asio/asio_stream_base.h
+++ b/src/lib/tls/asio/asio_stream_base.h
@@ -77,7 +77,7 @@ class StreamBase<Botan::TLS::Client>
{
if(type != handshake_type::client)
{
- ec = make_error_code(Botan::TLS::error::invalid_argument);
+ ec = Botan::TLS::error::invalid_argument;
return false;
}