diff options
author | lloyd <[email protected]> | 2012-08-06 10:50:41 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-08-06 10:50:41 +0000 |
commit | 943ecbcce90b504f3ef9fe328136323b0d248c17 (patch) | |
tree | 0aa0c4611f7d0c75965af3abe2bc521c82f25ae0 /src/tls/tls_handshake_hash.h | |
parent | a250506355588554dbd84181a94bb3a96234376e (diff) |
Have all the TLS handshake messages stored in unique_ptrs with only
const access after setting them. Fix some const issues.
Diffstat (limited to 'src/tls/tls_handshake_hash.h')
-rw-r--r-- | src/tls/tls_handshake_hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_handshake_hash.h b/src/tls/tls_handshake_hash.h index e7fc24f64..840895963 100644 --- a/src/tls/tls_handshake_hash.h +++ b/src/tls/tls_handshake_hash.h @@ -31,9 +31,9 @@ class Handshake_Hash { data += in; } secure_vector<byte> final(Protocol_Version version, - const std::string& mac_algo); + const std::string& mac_algo) const; - secure_vector<byte> final_ssl3(const secure_vector<byte>& master_secret); + secure_vector<byte> final_ssl3(const secure_vector<byte>& master_secret) const; const std::vector<byte>& get_contents() const { return data; } |