aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/tls_handshake_state.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/tls/tls_handshake_state.cpp b/src/lib/tls/tls_handshake_state.cpp
index 9262650e8..5fcfb08c7 100644
--- a/src/lib/tls/tls_handshake_state.cpp
+++ b/src/lib/tls/tls_handshake_state.cpp
@@ -437,8 +437,6 @@ Handshake_State::choose_sig_format(const Private_Key& key,
{
// We skip this check for v1.0 since you're stuck with SHA-1 regardless
- std::vector<std::string> allowed_hashes = policy.allowed_signature_hashes();
-
if(!policy.allowed_signature_hash(hash_algo))
{
throw TLS_Exception(Alert::HANDSHAKE_FAILURE,