forked from premiere/premiere-libtorrent
fix ssl test
This commit is contained in:
parent
b63cdcb991
commit
ad7b2c87bd
|
@ -137,7 +137,8 @@ void test_ssl(int test_idx, bool use_utp)
|
|||
|
||||
create_directory("tmp1_ssl", ec);
|
||||
std::ofstream file("tmp1_ssl/temporary");
|
||||
boost::intrusive_ptr<torrent_info> t = ::create_torrent(&file, 16 * 1024, 13, false, "../ssl/root_ca_cert.pem");
|
||||
boost::intrusive_ptr<torrent_info> t = ::create_torrent(&file
|
||||
, 16 * 1024, 13, false, combine_path("..", combine_path("ssl", "root_ca_cert.pem")));
|
||||
file.close();
|
||||
|
||||
add_torrent_params addp;
|
||||
|
@ -484,7 +485,7 @@ void test_malicious_peer()
|
|||
create_directory("tmp3_ssl", ec);
|
||||
std::ofstream file("tmp3_ssl/temporary");
|
||||
boost::intrusive_ptr<torrent_info> t = ::create_torrent(&file
|
||||
, 16 * 1024, 13, false, "ssl/root_ca_cert.pem");
|
||||
, 16 * 1024, 13, false, combine_path("..", combine_path("ssl", "root_ca_cert.pem")));
|
||||
file.close();
|
||||
|
||||
add_torrent_params addp;
|
||||
|
|
Loading…
Reference in New Issue