aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_messages.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-06 11:57:44 +0000
committerlloyd <[email protected]>2012-08-06 11:57:44 +0000
commitab195a19bc5a938af1d70f28186c164a48e5c009 (patch)
treebdb62bbc547892afa9c763685dbc995229d2e514 /src/tls/tls_messages.h
parent0ca08219bb2dfbc8a902c139430ea6fb9034ff25 (diff)
Const Handshake_State args where possible
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r--src/tls/tls_messages.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h
index cca2aa6b0..4e9d13803 100644
--- a/src/tls/tls_messages.h
+++ b/src/tls/tls_messages.h
@@ -368,7 +368,7 @@ class Finished : public Handshake_Message
std::vector<byte> verify_data() const
{ return m_verification_data; }
- bool verify(Handshake_State* state,
+ bool verify(const Handshake_State* state,
Connection_Side side) const;
Finished(Handshake_IO& io,
@@ -408,7 +408,7 @@ class Server_Key_Exchange : public Handshake_Message
const std::vector<byte>& params() const { return m_params; }
bool verify(const X509_Certificate& cert,
- Handshake_State* state) const;
+ const Handshake_State* state) const;
// Only valid for certain kex types
const Private_Key& server_kex_key() const;