aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-08-31 13:12:22 -0400
committerJack Lloyd <[email protected]>2016-08-31 13:12:22 -0400
commit47ec0534ebeb3e4035ff6d9866c726501ad2bc0c (patch)
tree14905dce25de3cae678d06c207666ed09039ab26 /src/lib
parent1b9cf39063194fe91dc8e5d78f73d7251c5d16fc (diff)
Fix TLS build with SRP6 disabled
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/tls/msg_client_hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/msg_client_hello.cpp b/src/lib/tls/msg_client_hello.cpp
index 41a6f5c02..f504786ef 100644
--- a/src/lib/tls/msg_client_hello.cpp
+++ b/src/lib/tls/msg_client_hello.cpp
@@ -99,7 +99,7 @@ Client_Hello::Client_Hello(Handshake_IO& io,
#if defined(BOTAN_HAS_SRP6)
m_extensions.add(new SRP_Identifier(client_settings.srp_identifier()));
#else
- if(!srp_identifier.empty())
+ if(!client_settings.srp_identifier().empty())
{
throw Invalid_State("Attempting to initiate SRP session but TLS-SRP support disabled");
}