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_channel.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tls/tls_channel.h') diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h index 7a538fb9d..ae8791f6b 100644 --- a/src/tls/tls_channel.h +++ b/src/tls/tls_channel.h @@ -118,11 +118,11 @@ class BOTAN_DLL Channel m_secure_renegotiation(false) {} - void update(class Client_Hello* client_hello); - void update(class Server_Hello* server_hello); + void update(const class Client_Hello* client_hello); + void update(const class Server_Hello* server_hello); - void update(class Finished* client_finished, - class Finished* server_finished); + void update(const class Finished* client_finished, + const class Finished* server_finished); const std::vector& for_client_hello() const { return m_client_verify; } -- cgit v1.2.3