aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-24 14:22:35 +0000
committerlloyd <[email protected]>2012-01-24 14:22:35 +0000
commit08d9a721ca30cb3931a717194ad2352de9dfb108 (patch)
tree0ce302693379c5ffd07d7bf8d67fb15e3a09622a /src/tls/tls_messages.h
parent99eafeb061d9f8c55ff7c6c7c2caa2be3d89a25a (diff)
Working ECDH key exchange. Only tested on client side but seems good
there. Only named curves supported, likely won't ever support explicit curves cause that's just asking for problems.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index 2b2e02baa..c3dbaaf42 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -220,10 +220,9 @@ class Client_Key_Exchange : public Handshake_Message
const Ciphersuite& suite,
Protocol_Version using_version);
private:
- MemoryVector<byte> serialize() const;
+ MemoryVector<byte> serialize() const { return key_material; }
SecureVector<byte> key_material, pre_master;
- bool include_length;
};
/**