diff options
author | lloyd <[email protected]> | 2010-04-17 18:56:53 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-04-17 18:56:53 +0000 |
commit | aaa9e92697e16278fb91552f075c020f2b4c26cb (patch) | |
tree | 1393248e823a35f7134894e60174f0e65a62d876 /src/ssl/c_kex.cpp | |
parent | 0abc80f498c6bc2e8f630e34b90d5c6d24c29f58 (diff) |
Clean up ciphersuite handling
Diffstat (limited to 'src/ssl/c_kex.cpp')
-rw-r--r-- | src/ssl/c_kex.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ssl/c_kex.cpp b/src/ssl/c_kex.cpp index e09e18ce1..db2198627 100644 --- a/src/ssl/c_kex.cpp +++ b/src/ssl/c_kex.cpp @@ -67,9 +67,7 @@ Client_Key_Exchange::Client_Key_Exchange(const MemoryRegion<byte>& contents, { include_length = true; - if(using_version == SSL_V3 && - (suite.kex_type() == CipherSuite::NO_KEX || - suite.kex_type() == CipherSuite::RSA_KEX)) + if(using_version == SSL_V3 && (suite.kex_type() == TLS_ALGO_KEYEXCH_RSA)) include_length = false; deserialize(contents); |