diff options
author | lloyd <[email protected]> | 2012-03-03 04:05:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-03-03 04:05:28 +0000 |
commit | 0cb5c24b007ba8cea9eb05f31548b078e2b1dea3 (patch) | |
tree | 05246766e6ee7048d5d6267876112ab57c3596cd /src/tls/s_kex.cpp | |
parent | 03ff8576e98e22aef25439d991c3fd8a1db71237 (diff) |
Move the handshake serialization code to Record_Writer
Diffstat (limited to 'src/tls/s_kex.cpp')
-rw-r--r-- | src/tls/s_kex.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/s_kex.cpp b/src/tls/s_kex.cpp index f25205e99..6707d2611 100644 --- a/src/tls/s_kex.cpp +++ b/src/tls/s_kex.cpp @@ -8,6 +8,7 @@ #include <botan/internal/tls_messages.h> #include <botan/internal/tls_reader.h> #include <botan/internal/tls_extensions.h> +#include <botan/tls_record.h> #include <botan/internal/assert.h> #include <botan/credentials_manager.h> #include <botan/loadstor.h> @@ -105,7 +106,7 @@ Server_Key_Exchange::Server_Key_Exchange(Record_Writer& writer, m_signature = signer.signature(rng); } - send(writer, state->hash); + state->hash.update(writer.send(*this)); } /** |