aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-27 17:48:11 +0000
committerlloyd <[email protected]>2012-01-27 17:48:11 +0000
commit8d0bbed5d5ccd0995d4794644172b6508959798e (patch)
tree53376ced602c4cfbafbe7683d49d2483b2a48274 /src/tls/tls_messages.h
parent133bda471c547842044bd66a44bfe64668e966da (diff)
Somewhat cleaner PSK handling
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index b29aac600..97d72a0cb 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -214,7 +214,9 @@ class Client_Key_Exchange : public Handshake_Message
{ return pre_master; }
SecureVector<byte> pre_master_secret(RandomNumberGenerator& rng,
- const Handshake_State* state);
+ const Handshake_State* state,
+ Credentials_Manager& creds,
+ const Policy& policy);
Client_Key_Exchange(Record_Writer& output,
Handshake_State* state,
@@ -223,8 +225,7 @@ class Client_Key_Exchange : public Handshake_Message
RandomNumberGenerator& rng);
Client_Key_Exchange(const MemoryRegion<byte>& buf,
- const Handshake_State* state,
- Credentials_Manager& creds);
+ const Handshake_State* state);
private:
MemoryVector<byte> serialize() const { return key_material; }