diff options
author | lloyd <[email protected]> | 2012-01-23 13:28:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-23 13:28:40 +0000 |
commit | 99b96f74af6e13f99f53ecda061697da72c5d4fb (patch) | |
tree | e3af6f058270da388acc2ffd3e74bbc86ba1c68c /src/tls/tls_extensions.cpp | |
parent | e0065f2af522b9573aaf364391139ac12e77eecb (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_extensions.cpp')
-rw-r--r-- | src/tls/tls_extensions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tls_extensions.cpp b/src/tls/tls_extensions.cpp index d9351fdb1..570c7161c 100644 --- a/src/tls/tls_extensions.cpp +++ b/src/tls/tls_extensions.cpp @@ -364,6 +364,8 @@ MemoryVector<byte> Supported_Elliptic_Curves::serialize() const buf[0] = get_byte<u16bit>(0, buf.size()-2); buf[1] = get_byte<u16bit>(1, buf.size()-2); + + return buf; } Supported_Elliptic_Curves::Supported_Elliptic_Curves() |