forked from premiere/premiere-libtorrent
fix build
This commit is contained in:
parent
e5ecd73751
commit
2bdeb9aa6b
|
@ -46,7 +46,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||
|
||||
#include <boost/limits.hpp>
|
||||
#include <boost/function_equal.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
#include <boost/asio/ip/v6_only.hpp>
|
||||
|
@ -276,7 +275,7 @@ namespace aux {
|
|||
return SSL_TLSEXT_ERR_ALERT_FATAL;
|
||||
|
||||
sha1_hash info_hash;
|
||||
bool valid = from_hex(servername, 40, info_hash.data());
|
||||
bool valid = aux::from_hex({servername, 40}, info_hash.data());
|
||||
|
||||
// the server name is not a valid hex-encoded info-hash
|
||||
if (!valid)
|
||||
|
|
Loading…
Reference in New Issue