aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_extensions.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-07 05:10:18 -0500
committerJack Lloyd <[email protected]>2016-02-07 05:10:18 -0500
commit62a03ea81ab7a2fe8ff79275427f3353a75e3a4f (patch)
tree22134859fa408e5d1ea6d8d1d4a5198c665e48aa /src/lib/tls/tls_extensions.h
parent0ed7333721b8205c2b4b281b6cd5c762754fbe7d (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.h2
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)