aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-07 17:32:35 +0000
committerlloyd <[email protected]>2012-09-07 17:32:35 +0000
commit2bb0c695f53f08324ac4fbe03d3e052d5e2d089a (patch)
tree54b4300d7b67f876c5470379a3ee270878251a0d /src/tls/tls_channel.h
parentfa155f8caf5079af767d999356469cf059bca35a (diff)
Pass the current active state as well as the pending state which is
quite helpful in the server. May also be useful for the renegotiation extension.
Diffstat (limited to 'src/tls/tls_channel.h')
-rw-r--r--src/tls/tls_channel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h
index 6f52923e6..e9019222e 100644
--- a/src/tls/tls_channel.h
+++ b/src/tls/tls_channel.h
@@ -98,7 +98,8 @@ class BOTAN_DLL Channel
virtual ~Channel();
protected:
- virtual void process_handshake_msg(Handshake_State& state,
+ virtual void process_handshake_msg(const Handshake_State* active_state,
+ Handshake_State& pending_state,
Handshake_Type type,
const std::vector<byte>& contents) = 0;