updated Jamfile to support openssl on windows, added missing files to makefiles and made test_pe_crypto build when encryption is disabled
This commit is contained in:
@@ -40,6 +40,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "setup_transfer.hpp"
|
||||
#include "test.hpp"
|
||||
|
||||
#ifndef TORRENT_DISABLE_ENCRYPTION
|
||||
|
||||
void display_pe_policy(libtorrent::pe_settings::enc_policy policy)
|
||||
{
|
||||
using namespace libtorrent;
|
||||
@@ -193,3 +195,13 @@ int test_main()
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
int test_main()
|
||||
{
|
||||
std::cerr << "PE test not run because it's disabled" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user