diff options
author | lloyd <[email protected]> | 2011-12-30 15:37:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-30 15:37:36 +0000 |
commit | fc626d62f464a7dee5e62134781f5a6ccdfafc72 (patch) | |
tree | 6658020f1836b2faacffabca03897ca871b2880d /src/tls/tls_extensions.cpp | |
parent | ca850112360e48a3a140f08fa07f02806d61393b (diff) |
Many renegotiation fixes. Add support for the secure renegotiation
extension (client side only at the moment). Add an interface that
allows applications to request renegotiation.
Diffstat (limited to 'src/tls/tls_extensions.cpp')
-rw-r--r-- | src/tls/tls_extensions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tls/tls_extensions.cpp b/src/tls/tls_extensions.cpp index 28523abf2..1e8060821 100644 --- a/src/tls/tls_extensions.cpp +++ b/src/tls/tls_extensions.cpp @@ -30,6 +30,8 @@ TLS_Extensions::TLS_Extensions(class TLS_Data_Reader& reader) extensions.push_back(new Server_Name_Indicator(reader)); else if(extension_code == TLSEXT_SRP_IDENTIFIER) extensions.push_back(new SRP_Identifier(reader)); + else if(extension_code == TLSEXT_SAFE_RENEGOTIATION) + extensions.push_back(new Renegotation_Extension(reader)); else // unknown/unhandled extension { printf("Unknown extension code %d\n", extension_code); |