diff options
author | lloyd <[email protected]> | 2012-01-04 17:59:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-04 17:59:31 +0000 |
commit | 01f21a93c66965876097ee1c989cf7b4ce1f9a2a (patch) | |
tree | 29d762afed2af35d3c94fa02b4e24fbb6c865724 /src/tls/tls_messages.h | |
parent | 268b336843cf71f8fcb8c68ed67a622c71e3232a (diff) |
The first 4 bytes of the client and server randoms are supposed to be
a timestamp. Instead we used random values for all, but hypothetically
it would be useful for the timestamp to be correct in case someone
decides to interpret that field. Which they hopefully won't.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r-- | src/tls/tls_messages.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h index 67647d5a3..3da9b1076 100644 --- a/src/tls/tls_messages.h +++ b/src/tls/tls_messages.h @@ -40,6 +40,8 @@ class Handshake_Message virtual void deserialize(const MemoryRegion<byte>&) = 0; }; +MemoryVector<byte> make_hello_random(RandomNumberGenerator& rng); + /** * Client Hello Message */ |