From fa5529e90a5e6cc48cca7669018d574802e13f08 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 27 Dec 2011 16:30:40 +0000 Subject: Avoid a memory leak if we were using DHE - kex_priv would get a copy of the server key and then we'd immediately overwrite the pointer. --- src/tls/tls_state.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/tls/tls_state.h') diff --git a/src/tls/tls_state.h b/src/tls/tls_state.h index 523dfed9c..1d6fc4c9e 100644 --- a/src/tls/tls_state.h +++ b/src/tls/tls_state.h @@ -5,8 +5,8 @@ * Released under the terms of the Botan license */ -#ifndef BOTAN_TLS_HANDSHAKE_H__ -#define BOTAN_TLS_HANDSHAKE_H__ +#ifndef BOTAN_TLS_HANDSHAKE_STATE_H__ +#define BOTAN_TLS_HANDSHAKE_STATE_H__ #include #include @@ -50,7 +50,6 @@ class Handshake_State SecureQueue queue; Version_Code version; - //bool got_client_ccs, got_server_ccs, do_client_auth; private: u32bit hand_expecting_mask, hand_received_mask; }; -- cgit v1.2.3