lib/net: Load client SSL certificates when connecting

This commit is contained in:
Povilas Kanapickas 2021-11-01 04:50:05 +02:00
parent 6d7eca42b7
commit c0ce893711

View File

@ -464,6 +464,8 @@ SecureSocket::secureConnect(int socket)
{
createSSL();
load_certificates(barrier::DataDirectories::ssl_certificate_path());
// attach the socket descriptor
SSL_set_fd(m_ssl->m_ssl, socket);