diff options
author | Jack Lloyd <[email protected]> | 2016-10-17 03:39:24 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-17 03:39:24 -0400 |
commit | 8f1ecd838eb05ad71bcfeb8cc59873c6f4f903ba (patch) | |
tree | 93a6185d5b97fa6533b338031191ab3f1a2d6efa /src/lib/tls/msg_server_hello.cpp | |
parent | 1fbb61c3f212f180066b5bffb28e68808df1ad2e (diff) |
Maintainer mode fixes
Diffstat (limited to 'src/lib/tls/msg_server_hello.cpp')
-rw-r--r-- | src/lib/tls/msg_server_hello.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp index 4f95a5c9d..d13bc7551 100644 --- a/src/lib/tls/msg_server_hello.cpp +++ b/src/lib/tls/msg_server_hello.cpp @@ -66,11 +66,11 @@ Server_Hello::Server_Hello(Handshake_IO& io, { u16bit shared = 0; // always using server preferences for now - for(auto s : server_srtp) - for(auto c : client_srtp) + for(auto s_srtp : server_srtp) + for(auto c_srtp : client_srtp) { - if(shared == 0 && s == c) - shared = s; + if(shared == 0 && s_srtp == c_srtp) + shared = s_srtp; } if(shared) |