aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-07-05 21:19:31 -0400
committerJack Lloyd <[email protected]>2015-07-05 21:19:31 -0400
commitee7d2602628f48a8ded5f0f403e48b27609d4da1 (patch)
treeb8dbfd8069decf15174fd2205d79a883847fb01c /src/lib
parent46510029cf940a7c505231f1914468622317dd81 (diff)
Fix invalid iterator use in TLS client
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/tls/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_client.cpp b/src/lib/tls/tls_client.cpp
index 339e74e71..9306092ce 100644
--- a/src/lib/tls/tls_client.cpp
+++ b/src/lib/tls/tls_client.cpp
@@ -216,7 +216,7 @@ void Client::process_handshake_msg(const Handshake_State* active_state,
std::vector<Handshake_Extension_Type> diff;
std::set_difference(server_extn.begin(), server_extn.end(),
- client_extn.begin(), server_extn.end(),
+ client_extn.begin(), client_extn.end(),
std::back_inserter(diff));
if(!diff.empty())