From ee7d2602628f48a8ded5f0f403e48b27609d4da1 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 5 Jul 2015 21:19:31 -0400 Subject: Fix invalid iterator use in TLS client --- src/lib/tls/tls_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 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()) -- cgit v1.2.3