diff options
author | lloyd <[email protected]> | 2012-09-07 15:36:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-07 15:36:45 +0000 |
commit | 9432fe7c5484c2f3515d40fedf117ddc860f6e14 (patch) | |
tree | 7498f93b66c874c18c67592f62875493f064e704 /src | |
parent | 9e6542a1d04a0bb885653fa45f845b5e259f0e2d (diff) |
Use initializers
Diffstat (limited to 'src')
-rw-r--r-- | src/tls/tls_channel.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h index d9c1ab34b..29567da4c 100644 --- a/src/tls/tls_channel.h +++ b/src/tls/tls_channel.h @@ -134,10 +134,6 @@ class BOTAN_DLL Channel class Secure_Renegotiation_State { public: - Secure_Renegotiation_State() : m_initial_handshake(true), - m_secure_renegotiation(false) - {} - void update(const class Client_Hello* client_hello); void update(const class Server_Hello* server_hello); @@ -159,8 +155,8 @@ class BOTAN_DLL Channel bool initial_handshake() const { return m_initial_handshake; } private: - bool m_initial_handshake; - bool m_secure_renegotiation; + bool m_initial_handshake = true; + bool m_secure_renegotiation = false; std::vector<byte> m_client_verify, m_server_verify; }; |