forked from premiere/premiere-libtorrent
fix test_ssl build
This commit is contained in:
parent
d68471805e
commit
80b5a61655
|
@ -133,7 +133,7 @@ void test_ssl(int test_idx, bool use_utp)
|
|||
sett.set_bool(settings_pack::enable_natpmp, false);
|
||||
sett.set_int(settings_pack::ssl_listen, ssl_port);
|
||||
|
||||
libtorrent::session ses1(sett, fingerprint("LT", 0, 1, 0, 0), 0);
|
||||
libtorrent::session ses1(sett, 0);
|
||||
|
||||
if (!test.downloader_has_cert)
|
||||
// this disables outgoing SSL connections
|
||||
|
@ -141,7 +141,7 @@ void test_ssl(int test_idx, bool use_utp)
|
|||
else
|
||||
sett.set_int(settings_pack::ssl_listen, ssl_port + 20);
|
||||
|
||||
libtorrent::session ses2(sett, fingerprint("LT", 0, 1, 0, 0), 0);
|
||||
libtorrent::session ses2(sett, 0);
|
||||
|
||||
wait_for_listen(ses1, "ses1");
|
||||
wait_for_listen(ses2, "ses2");
|
||||
|
@ -533,7 +533,7 @@ void test_malicious_peer()
|
|||
sett.set_bool(settings_pack::enable_upnp, false);
|
||||
sett.set_bool(settings_pack::enable_natpmp, false);
|
||||
|
||||
libtorrent::session ses1(sett, fingerprint("LT", 0, 1, 0, 0), 0);
|
||||
libtorrent::session ses1(sett, 0);
|
||||
wait_for_listen(ses1, "ses1");
|
||||
|
||||
// create torrent
|
||||
|
|
Loading…
Reference in New Issue