From 943ecbcce90b504f3ef9fe328136323b0d248c17 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 6 Aug 2012 10:50:41 +0000 Subject: Have all the TLS handshake messages stored in unique_ptrs with only const access after setting them. Fix some const issues. --- src/tls/tls_handshake_hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tls/tls_handshake_hash.h') 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 final(Protocol_Version version, - const std::string& mac_algo); + const std::string& mac_algo) const; - secure_vector final_ssl3(const secure_vector& master_secret); + secure_vector final_ssl3(const secure_vector& master_secret) const; const std::vector& get_contents() const { return data; } -- cgit v1.2.3