diff options
author | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-10-31 11:31:27 +0000 |
commit | 083f699c30d584ac59453139e4f2e03d1fde0545 (patch) | |
tree | d9cc192ace03a9a0ef1c0e1705d5468ff3eb3489 /src/lib/tls/tls_messages.h | |
parent | af0cc3c7308d0f5320e82394590b0ca93f43c4d4 (diff) |
Fix various warnings from VC++ 2014 and add missing include
Diffstat (limited to 'src/lib/tls/tls_messages.h')
-rw-r--r-- | src/lib/tls/tls_messages.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h index 6cfb2f5bf..626f6a1cf 100644 --- a/src/lib/tls/tls_messages.h +++ b/src/lib/tls/tls_messages.h @@ -103,7 +103,7 @@ class Client_Hello : public Handshake_Message bool secure_renegotiation() const { - return m_extensions.get<Renegotiation_Extension>(); + return m_extensions.has<Renegotiation_Extension>(); } std::vector<byte> renegotiation_info() const @@ -115,7 +115,7 @@ class Client_Hello : public Handshake_Message bool next_protocol_notification() const { - return m_extensions.get<Next_Protocol_Notification>(); + return m_extensions.has<Next_Protocol_Notification>(); } size_t fragment_size() const @@ -127,7 +127,7 @@ class Client_Hello : public Handshake_Message bool supports_session_ticket() const { - return m_extensions.get<Session_Ticket>(); + return m_extensions.has<Session_Ticket>(); } std::vector<byte> session_ticket() const @@ -139,7 +139,7 @@ class Client_Hello : public Handshake_Message bool supports_heartbeats() const { - return m_extensions.get<Heartbeat_Support_Indicator>(); + return m_extensions.has<Heartbeat_Support_Indicator>(); } bool peer_can_send_heartbeats() const |