aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-23 13:28:40 +0000
committerlloyd <[email protected]>2012-01-23 13:28:40 +0000
commit99b96f74af6e13f99f53ecda061697da72c5d4fb (patch)
treee3af6f058270da388acc2ffd3e74bbc86ba1c68c /src/tls/tls_messages.h
parente0065f2af522b9573aaf364391139ac12e77eecb (diff)
Have the client key exchange examine the server key exchange message
directly (if it was sent), so that the client implementation doesn't have to know what key exchange mechanisms we actually support. Return a value in ECC curves extension serialization method.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index ffc325a89..e58a3bfbf 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -210,11 +210,9 @@ class Client_Key_Exchange : public Handshake_Message
Version_Code version);
Client_Key_Exchange(Record_Writer& output,
- TLS_Handshake_Hash& hash,
- RandomNumberGenerator& rng,
- const Public_Key* my_key,
- Version_Code using_version,
- Version_Code pref_version);
+ TLS_Handshake_State* state,
+ const std::vector<X509_Certificate>& peer_certs,
+ RandomNumberGenerator& rng);
Client_Key_Exchange(const MemoryRegion<byte>& buf,
const TLS_Ciphersuite& suite,