From 2bdeb9aa6ba1eb36741368c5a5be3ed49910f04b Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 29 Jul 2016 20:24:11 -0400 Subject: [PATCH] fix build --- src/session_impl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 90bee7188..4233f38eb 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -46,7 +46,6 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/aux_/disable_warnings_push.hpp" -#include #include #include #include @@ -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)