aboutsummaryrefslogtreecommitdiffstats
path: root/src/bogo_shim/bogo_shim.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-05-24 08:04:56 -0400
committerJack Lloyd <[email protected]>2019-05-24 08:04:56 -0400
commit3feae47739a01556a20765372d2fdb09b5c3a951 (patch)
tree0b8dd9ed3d35acdb4519f041a803ab5936380f5c /src/bogo_shim/bogo_shim.cpp
parent25bf95637449335be943d9479f40ab9bc79aec6f (diff)
Remove hack for signature preferences
Diffstat (limited to 'src/bogo_shim/bogo_shim.cpp')
-rw-r--r--src/bogo_shim/bogo_shim.cpp9
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;
}