aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_client.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-02-01 17:55:03 +0000
committerlloyd <[email protected]>2012-02-01 17:55:03 +0000
commit863a5420e3ad5efcfc7a175eed0d1a0b641c83c0 (patch)
treead82580eca85f784b2965ec61a1d1bb25fac1695 /src/tls/tls_client.cpp
parente2e9105071f2d0a1360603f06c2acf68865ff072 (diff)
Actually check CA signatures in Credentials_Manager. This area needs a
lot more work before this can be deployed.
Diffstat (limited to 'src/tls/tls_client.cpp')
-rw-r--r--src/tls/tls_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_client.cpp b/src/tls/tls_client.cpp
index 2bcdf7457..8b5ea9347 100644
--- a/src/tls/tls_client.cpp
+++ b/src/tls/tls_client.cpp
@@ -266,8 +266,8 @@ void Client::process_handshake_msg(Handshake_Type type,
try
{
- creds.verify_certificate_chain(peer_certs,
- state->client_hello->sni_hostname());
+ const std::string hostname = state->client_hello->sni_hostname();
+ creds.verify_certificate_chain("tls-client", hostname, peer_certs);
}
catch(std::exception& e)
{