diff options
author | Jack Lloyd <[email protected]> | 2018-06-14 11:59:15 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-06-14 11:59:15 -0400 |
commit | 6dce31a9c6ea81e594e9239290ccb1c427ee5e29 (patch) | |
tree | 8538691250c338d22e8d6cfd43870344a10c6711 /src/cli | |
parent | 071d6a9560365fd13dd68af66e84e80b3d7d7e37 (diff) |
Add 192-bit Suite B policy
Since 128-bit policy is actually not even allowed since 2015.
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/tls_utils.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cli/tls_utils.cpp b/src/cli/tls_utils.cpp index 784125de1..de5c93fe6 100644 --- a/src/cli/tls_utils.cpp +++ b/src/cli/tls_utils.cpp @@ -110,10 +110,14 @@ class TLS_Ciphersuites final : public Command { policy.reset(new Botan::TLS::Policy); } - else if(policy_type == "suiteb") + else if(policy_type == "suiteb_128") { policy.reset(new Botan::TLS::NSA_Suite_B_128); } + else if(policy_type == "suiteb_192") + { + policy.reset(new Botan::TLS::NSA_Suite_B_192); + } else if(policy_type == "strict") { policy.reset(new Botan::TLS::Strict_Policy); |