diff options
Diffstat (limited to 'src/tls/tls_extensions.h')
-rw-r--r-- | src/tls/tls_extensions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tls/tls_extensions.h b/src/tls/tls_extensions.h index cad9ad41c..36c41c9a5 100644 --- a/src/tls/tls_extensions.h +++ b/src/tls/tls_extensions.h @@ -208,7 +208,8 @@ class Supported_Elliptic_Curves : public Extension MemoryVector<byte> serialize() const; - Supported_Elliptic_Curves(); // default values, for client + Supported_Elliptic_Curves(const std::vector<std::string>& curves) : + m_curves(curves) {} Supported_Elliptic_Curves(TLS_Data_Reader& reader, u16bit extension_size); |