Honor SSL config settings for ValidatorSites:

FIXES: #2990

* refactor common SSL client setup
* enable SSL in unit-test http server
* add tests for SSLHTTPDownloader
* misc test refactoring
This commit is contained in:
Mike Ellery
2019-08-05 09:47:09 -07:00
parent fc7ecd672a
commit 9213c49ca1
20 changed files with 1135 additions and 534 deletions

View File

@@ -2041,6 +2041,7 @@ if (unity)
src/test/unity/crypto_test_unity.cpp
src/test/unity/json_test_unity.cpp
src/test/unity/ledger_test_unity.cpp
src/test/unity/net_test_unity.cpp
src/test/unity/nodestore_test_unity.cpp
src/test/unity/overlay_test_unity.cpp
src/test/unity/peerfinder_test_unity.cpp
@@ -2547,6 +2548,11 @@ else ()
src/test/ledger/SHAMapV2_test.cpp
src/test/ledger/SkipList_test.cpp
src/test/ledger/View_test.cpp
#[===============================[
nounity, test sources:
subdir: net
#]===============================]
src/test/net/SSLHTTPDownloader_test.cpp
#[===============================[
nounity, test sources:
subdir: nodestore