aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_client_kex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/msg_client_kex.cpp')
-rw-r--r--src/lib/tls/msg_client_kex.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/tls/msg_client_kex.cpp b/src/lib/tls/msg_client_kex.cpp
index a6368bb50..3ca455b6b 100644
--- a/src/lib/tls/msg_client_kex.cpp
+++ b/src/lib/tls/msg_client_kex.cpp
@@ -65,8 +65,6 @@ Client_Key_Exchange::Client_Key_Exchange(Handshake_IO& io,
identity_hint = reader.get_string(2, 0, 65535);
}
- const std::string hostname = state.client_hello()->sni_hostname();
-
const std::string psk_identity = creds.psk_identity("tls-client",
hostname,
identity_hint);
@@ -90,8 +88,6 @@ Client_Key_Exchange::Client_Key_Exchange(Handshake_IO& io,
{
std::string identity_hint = reader.get_string(2, 0, 65535);
- const std::string hostname = state.client_hello()->sni_hostname();
-
const std::string psk_identity = creds.psk_identity("tls-client",
hostname,
identity_hint);