diff options
author | lloyd <[email protected]> | 2010-10-15 16:57:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-15 16:57:19 +0000 |
commit | 4f939c4f33798e9aa300ea876ed3df28bc2739c3 (patch) | |
tree | bcf40696ea6d61e4dfab8cc85b70d9119aa0396a /src/ssl/tls_client.cpp | |
parent | 76de66140226728fd22f1dfda976e7214d79a62c (diff) |
Last u32bit->size_t for ssl
Diffstat (limited to 'src/ssl/tls_client.cpp')
-rw-r--r-- | src/ssl/tls_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/tls_client.cpp b/src/ssl/tls_client.cpp index 18f6981e3..976b7c917 100644 --- a/src/ssl/tls_client.cpp +++ b/src/ssl/tls_client.cpp @@ -383,9 +383,9 @@ void TLS_Client::process_handshake_msg(Handshake_Type type, if(type != HANDSHAKE_CCS && type != HELLO_REQUEST && type != FINISHED) { state->hash.update(static_cast<byte>(type)); - const u32bit record_length = contents.size(); + const size_t record_length = contents.size(); for(size_t i = 0; i != 3; i++) - state->hash.update(get_byte(i+1, record_length)); + state->hash.update(get_byte<u32bit>(i+1, record_length)); state->hash.update(contents); } |