aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-06 10:50:41 +0000
committerlloyd <[email protected]>2012-08-06 10:50:41 +0000
commit943ecbcce90b504f3ef9fe328136323b0d248c17 (patch)
tree0aa0c4611f7d0c75965af3abe2bc521c82f25ae0 /src/tls/tls_channel.h
parenta250506355588554dbd84181a94bb3a96234376e (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_channel.h')
-rw-r--r--src/tls/tls_channel.h8
1 files changed, 4 insertions, 4 deletions
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<byte>& for_client_hello() const
{ return m_client_verify; }