aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/msg_finished.cpp
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/msg_finished.cpp
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/msg_finished.cpp')
-rw-r--r--src/tls/msg_finished.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/msg_finished.cpp b/src/tls/msg_finished.cpp
index 4f4f384c5..9a38b822b 100644
--- a/src/tls/msg_finished.cpp
+++ b/src/tls/msg_finished.cpp
@@ -94,7 +94,7 @@ Finished::Finished(const std::vector<byte>& buf)
* Verify a Finished message
*/
bool Finished::verify(Handshake_State* state,
- Connection_Side side)
+ Connection_Side side) const
{
return (m_verification_data == finished_compute_verify(state, side));
}