diff options
author | Jack Lloyd <[email protected]> | 2019-06-18 08:40:36 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-06-18 19:25:57 -0400 |
commit | c43acdfa8c29d78deadd01baac597e1cb6804c6a (patch) | |
tree | d865616dd053f0a4ac8bf5f974b108275748eb32 /src/tests/unit_tls.cpp | |
parent | efcec12b00aa69eed577c50c9241bc3838b3001a (diff) |
Add support for HelloVerifyRequest on server side
Closes GH #1833
Diffstat (limited to 'src/tests/unit_tls.cpp')
-rw-r--r-- | src/tests/unit_tls.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 34c25e9ef..c3355b118 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -176,6 +176,11 @@ class Credentials_Manager_Test final : public Botan::Credentials_Manager return Botan::SymmetricKey("AABBCCDDEEFF012345678012345678"); } + if(type == "tls-server" && context == "dtls-cookie-secret") + { + return Botan::SymmetricKey("4AEA5EAD279CADEB537A594DA0E9DE3A"); + } + if(context == "server.example.com" && type == "tls-client") { return Botan::SymmetricKey("20B602D1475F2DF888FCB60D2AE03AFD"); |