Skip to content

Commit

Permalink
Fix boost1.63 build failure Fixes: #813 (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
LocutusOfBorg authored and ras0219-msft committed Aug 1, 2018
1 parent aa4065b commit ef7e37e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class connection : public lib::enable_shared_from_this<connection> {
return make_error_code(transport::error::tls_short_read);
#else
if (ERR_GET_REASON(ec.value()) == boost::asio::ssl::error::stream_truncated) {
return make_error_code(boost::asio::ssl::error::stream_truncated);
return make_error_code(static_cast<std::errc>(boost::asio::ssl::error::stream_truncated));
#endif
} else {
// We know it is a TLS related error, but otherwise don't know
Expand Down

0 comments on commit ef7e37e

Please sign in to comment.