fix ssl test

This commit is contained in:
Arvid Norberg 2014-01-08 06:18:57 +00:00
parent b63cdcb991
commit ad7b2c87bd
1 changed files with 3 additions and 2 deletions

View File

@ -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;