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:
Arvid Norberg
2007-06-13 01:48:24 +00:00
parent 5b5f3b3ca2
commit fa1a37e649
8 changed files with 120 additions and 74 deletions

View File

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