From 2bb0c695f53f08324ac4fbe03d3e052d5e2d089a Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 7 Sep 2012 17:32:35 +0000 Subject: 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. --- src/tls/tls_channel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tls/tls_channel.h') 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& contents) = 0; -- cgit v1.2.3