From 8c700bcf093b82a29e93f79932e4f1542818186a Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 2 Oct 2017 23:55:55 -0400 Subject: Remove various unused variables Sonar finds --- src/lib/tls/tls_handshake_state.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/tls/tls_handshake_state.cpp') 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 allowed_hashes = policy.allowed_signature_hashes(); - if(!policy.allowed_signature_hash(hash_algo)) { throw TLS_Exception(Alert::HANDSHAKE_FAILURE, -- cgit v1.2.3