diff options
Diffstat (limited to 'src/bogo_shim')
-rw-r--r-- | src/bogo_shim/bogo_shim.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/bogo_shim/bogo_shim.cpp b/src/bogo_shim/bogo_shim.cpp index 69a8e61fe..5e2e15dbe 100644 --- a/src/bogo_shim/bogo_shim.cpp +++ b/src/bogo_shim/bogo_shim.cpp @@ -809,7 +809,7 @@ class Shim_Policy final : public Botan::TLS::Policy } // BoGo gets sad if these are not included in our signature_algorithms extension - if(!m_args.flag_set("server") && m_args.test_name() != "VerifyPreferences-Enforced") + if(!m_args.flag_set("server")) { schemes.push_back(Botan::TLS::Signature_Scheme::RSA_PKCS1_SHA256); schemes.push_back(Botan::TLS::Signature_Scheme::ECDSA_SHA256); @@ -826,13 +826,6 @@ class Shim_Policy final : public Botan::TLS::Policy schemes.push_back(static_cast<Botan::TLS::Signature_Scheme>(pref)); } - // BoGo gets sad if these are not included in our signature_algorithms extension - if(!m_args.flag_set("server") && m_args.test_name() != "VerifyPreferences-Enforced") - { - schemes.push_back(Botan::TLS::Signature_Scheme::RSA_PKCS1_SHA256); - schemes.push_back(Botan::TLS::Signature_Scheme::ECDSA_SHA256); - } - return schemes; } |