diff options
author | Jack Lloyd <[email protected]> | 2020-06-18 11:36:12 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-06-18 11:36:12 -0400 |
commit | 4ef617fadae3ba76f4aa27d644b140f72c3f91e5 (patch) | |
tree | 3962aa14fe3a706c0e25925784a35d1141c7ea9f /src/lib/tls | |
parent | fc715d705c664b7cee9813ed3ef15d2641d19e69 (diff) |
Fix LGTM warning
Large object being passed by value instead of &
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/tls_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_client.cpp b/src/lib/tls/tls_client.cpp index 9354c4c4d..e5d90c950 100644 --- a/src/lib/tls/tls_client.cpp +++ b/src/lib/tls/tls_client.cpp @@ -224,7 +224,7 @@ void Client::send_client_hello(Handshake_State& state_base, namespace { bool key_usage_matches_ciphersuite(Key_Constraints usage, - Ciphersuite suite) + const Ciphersuite& suite) { if(usage == NO_CONSTRAINTS) return true; // anything goes ... |