diff options
author | René Korthaus <[email protected]> | 2016-11-03 19:15:12 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-11-03 20:46:42 +0100 |
commit | b08d02df85ebd358af442c36a86589b3ba131d58 (patch) | |
tree | 10b83d5f82ab802e231b1e24d4a00a74a77af831 /src/tests/unit_tls.cpp | |
parent | f61363dea7be957e07c13aa6a4d7da7e1f57d914 (diff) |
Add an in-house EC curve for TLS at compile-time
One additional, application-specific curve can be added
at compile time, using the new
configure.py --house-curve=curve.pem,funky311,1.2.3.4,FEFF.
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 8a074db0c..ab37cffd1 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -1017,6 +1017,10 @@ class TLS_Unit_Tests : public Test test_modern_versions(results, *client_ses, *server_ses, *creds, "DHE_PSK", "AES-128", "SHA-1"); #endif +#if defined(BOTAN_HOUSE_ECC_CURVE_NAME) + test_modern_versions(results, *client_ses, *server_ses, *creds, "ECDH", "AES-128/GCM", "AEAD", + { { "ecc_curves", BOTAN_HOUSE_ECC_CURVE_NAME } }); +#endif return results; } |