diff options
Diffstat (limited to 'src/lib/tls/tls_client.cpp')
-rw-r--r-- | src/lib/tls/tls_client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/tls_client.cpp b/src/lib/tls/tls_client.cpp index 99b4ac731..185084734 100644 --- a/src/lib/tls/tls_client.cpp +++ b/src/lib/tls/tls_client.cpp @@ -396,7 +396,8 @@ void Client::process_handshake_msg(const Handshake_State* active_state, callbacks().tls_verify_cert_chain(server_certs, trusted_CAs, Usage_Type::TLS_SERVER_AUTH, - m_info.hostname()); + m_info.hostname(), + policy()); } catch(std::exception& e) { |