aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_state.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-27 16:30:40 +0000
committerlloyd <[email protected]>2011-12-27 16:30:40 +0000
commitfa5529e90a5e6cc48cca7669018d574802e13f08 (patch)
tree4993c9fd25d2bc0bc2a7c98666a061c04beb9d8a /src/tls/tls_state.h
parentc72b3f5afbebd8615884228f938c7cb270f5669e (diff)
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.
Diffstat (limited to 'src/tls/tls_state.h')
-rw-r--r--src/tls/tls_state.h5
1 files changed, 2 insertions, 3 deletions
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 <botan/internal/tls_messages.h>
#include <botan/secqueue.h>
@@ -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;
};