diff options
author | Jack Lloyd <[email protected]> | 2016-02-07 05:10:18 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-02-07 05:10:18 -0500 |
commit | 62a03ea81ab7a2fe8ff79275427f3353a75e3a4f (patch) | |
tree | 22134859fa408e5d1ea6d8d1d4a5198c665e48aa /src/lib/tls/tls_extensions.h | |
parent | 0ed7333721b8205c2b4b281b6cd5c762754fbe7d (diff) |
Make SRP6 support optional in TLS
Remove SRP_SHA from the default policy, since normal applications do
not need it.
Removes nullptr initializers of unique_ptrs in the Server_Key_Exchange
constructor, that's the default unique_ptr already.
Diffstat (limited to 'src/lib/tls/tls_extensions.h')
-rw-r--r-- | src/lib/tls/tls_extensions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tls/tls_extensions.h b/src/lib/tls/tls_extensions.h index a4ca31410..5a8aff9de 100644 --- a/src/lib/tls/tls_extensions.h +++ b/src/lib/tls/tls_extensions.h @@ -94,6 +94,7 @@ class Server_Name_Indicator final : public Extension std::string m_sni_host_name; }; +#if defined(BOTAN_HAS_SRP6) /** * SRP identifier extension (RFC 5054) */ @@ -119,6 +120,7 @@ class SRP_Identifier final : public Extension private: std::string m_srp_identifier; }; +#endif /** * Renegotiation Indication Extension (RFC 5746) |