From 49254e5663d16d6da04a840c868a8175bad2079a Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 13 Feb 2017 21:56:20 -0500 Subject: [PATCH] fix test_ssl build --- test/test_ssl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_ssl.cpp b/test/test_ssl.cpp index c03558fa1..d6fb64500 100644 --- a/test/test_ssl.cpp +++ b/test/test_ssl.cpp @@ -35,7 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/file.hpp" #include "libtorrent/session_status.hpp" #include "libtorrent/torrent_info.hpp" -#include "libtorrent/hex.hpp" // for to_hex, from_hex +#include "libtorrent/hex.hpp" // for to_hex #include "libtorrent/time.hpp" #include "test.hpp" @@ -456,7 +456,7 @@ bool try_connect(libtorrent::session& ses1, int port if (flags & valid_sni_hash) { - std::string name = to_hex(t->info_hash().to_string()); + std::string name = aux::to_hex(t->info_hash()); std::printf("SNI: %s\n", name.c_str()); SSL_set_tlsext_host_name(ssl_sock.native_handle(), name.c_str()); }