aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-02 23:55:55 -0400
committerJack Lloyd <[email protected]>2017-10-02 23:55:55 -0400
commit8c700bcf093b82a29e93f79932e4f1542818186a (patch)
tree1ac3548255490fc01fd6d6ee366b2029b16b18f4 /src/lib/tls
parenta0a27808005346ef151ea7b07550dc03434b9e84 (diff)
Remove various unused variables
Sonar finds
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,