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/cert_ver.cpp | |
parent | 03ff8576e98e22aef25439d991c3fd8a1db71237 (diff) |
Move the handshake serialization code to Record_Writer
Diffstat (limited to 'src/tls/cert_ver.cpp')
-rw-r--r-- | src/tls/cert_ver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/cert_ver.cpp b/src/tls/cert_ver.cpp index 791635b17..388e16c88 100644 --- a/src/tls/cert_ver.cpp +++ b/src/tls/cert_ver.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 <memory> @@ -45,7 +46,7 @@ Certificate_Verify::Certificate_Verify(Record_Writer& writer, signature = signer.sign_message(state->hash.get_contents(), rng); } - send(writer, state->hash); + state->hash.update(writer.send(*this)); } /* |