aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_extensions.h
diff options
context:
space:
mode:
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)