diff options
author | Jack Lloyd <[email protected]> | 2016-11-16 16:15:51 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-16 16:15:51 -0500 |
commit | 10c2f3f984c6c74d6a94270ee6e9e1be00f68500 (patch) | |
tree | 8cdc3e73fa10088590249560b1a85626c5510c5f /src/lib/tls/tls_extensions.h | |
parent | ca86adc7ceee60abc62645067a53c0f117f28783 (diff) |
Fix incompatability with (some) common TLS stack
Several sites including oracle.com seem to send extension 11
(point format) even if we (the client) did not send it. Then the
handshake fails. To workaround this problem, simply always send this
extension as the client, instead of only sending it if we wished to
support compressed points.
Diffstat (limited to 'src/lib/tls/tls_extensions.h')
-rw-r--r-- | src/lib/tls/tls_extensions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/tls_extensions.h b/src/lib/tls/tls_extensions.h index d69e40a60..119170797 100644 --- a/src/lib/tls/tls_extensions.h +++ b/src/lib/tls/tls_extensions.h @@ -276,7 +276,8 @@ class Supported_Point_Formats final : public Extension std::vector<byte> serialize() const override; - explicit Supported_Point_Formats() : m_prefers_compressed(true) {} + explicit Supported_Point_Formats(bool prefer_compressed) : + m_prefers_compressed(prefer_compressed) {} Supported_Point_Formats(TLS_Data_Reader& reader, u16bit extension_size); |