diff options
author | lloyd <[email protected]> | 2012-01-04 18:46:49 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-04 18:46:49 +0000 |
commit | 550faf230b01c657b5883a35643e8b9865b122ca (patch) | |
tree | 14f24717e4b539e02408841a54b08f7530e9996b /src/tls/tls_extensions.h | |
parent | 01f21a93c66965876097ee1c989cf7b4ce1f9a2a (diff) |
As someone pointed out on the TLS list, NPN isn't really a negotiation
per-se, it's a notification by the client. Rename accordingly.
Diffstat (limited to 'src/tls/tls_extensions.h')
-rw-r--r-- | src/tls/tls_extensions.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tls/tls_extensions.h b/src/tls/tls_extensions.h index c4021159d..62f179998 100644 --- a/src/tls/tls_extensions.h +++ b/src/tls/tls_extensions.h @@ -146,7 +146,7 @@ class Maximum_Fragment_Length : public TLS_Extension * spec (implemented in Chromium); the internet draft leaves the format * unspecified. */ -class Next_Protocol_Negotiation : public TLS_Extension +class Next_Protocol_Notification : public TLS_Extension { public: TLS_Handshake_Extension_Type type() const @@ -158,16 +158,16 @@ class Next_Protocol_Negotiation : public TLS_Extension /** * Empty extension, used by client */ - Next_Protocol_Negotiation() {} + Next_Protocol_Notification() {} /** * List of protocols, used by server */ - Next_Protocol_Negotiation(const std::vector<std::string>& protocols) : + Next_Protocol_Notification(const std::vector<std::string>& protocols) : m_protocols(protocols) {} - Next_Protocol_Negotiation(TLS_Data_Reader& reader, - u16bit extension_size); + Next_Protocol_Notification(TLS_Data_Reader& reader, + u16bit extension_size); MemoryVector<byte> serialize() const; |