diff options
author | redfish <redfish@galactica.pw> | 2017-10-16 02:41:32 +0000 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2017-10-17 16:12:58 -0400 |
commit | 29497f7920e8c171bdce076718513c2b062961c0 (patch) | |
tree | 96f1d0cd764213659e15b1d4fdc58c588984adba /utils | |
parent | Merge pull request #2601 (diff) | |
download | monero-29497f7920e8c171bdce076718513c2b062961c0.tar.xz |
epee: use boost type for SSL error code
Fixes compile error when building with OpenSSL v1.1:
contrib/epee/include/net/net_helper.h: In member function ‘void epee::net_utils::blocked_mode_client::shutdown_ssl()’:
contrib/epee/include/net/net_helper.h:579:106: error: ‘SSL_R_SHORT_READ’ was not declared in this scope
if (ec.category() == boost::asio::error::get_ssl_category() && ec.value() != ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ))
^
contrib/epee/include/net/net_helper.h:579:106: note: suggested alternative: ‘SSL_F_SSL_READ’
See boost/asio/ssl/error.hpp.
Boost handles differences between OpenSSL versions.
cmake: fail if Boost is too old for OpenSSL v1.1
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions