diff options
author | lloyd <[email protected]> | 2011-12-23 20:23:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-23 20:23:03 +0000 |
commit | f5c863cf97ea11876acad3c46fffca23685698aa (patch) | |
tree | 5537f5c843602f136f6eb1835d8679c9ae67009e /src/tls/c_kex.cpp | |
parent | 61d461d0a5fb63c3aee906c76b4aefe3335a7591 (diff) |
Initial hooks for session resumption
Diffstat (limited to 'src/tls/c_kex.cpp')
-rw-r--r-- | src/tls/c_kex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/c_kex.cpp b/src/tls/c_kex.cpp index 0f20b819c..b55973ca3 100644 --- a/src/tls/c_kex.cpp +++ b/src/tls/c_kex.cpp @@ -75,11 +75,11 @@ Client_Key_Exchange::Client_Key_Exchange(const MemoryRegion<byte>& contents, /** * Serialize a Client Key Exchange message */ -SecureVector<byte> Client_Key_Exchange::serialize() const +MemoryVector<byte> Client_Key_Exchange::serialize() const { if(include_length) { - SecureVector<byte> buf; + MemoryVector<byte> buf; append_tls_length_value(buf, key_material, 2); return buf; } |