lib/net: Load client SSL certificates when connecting
This commit is contained in:
parent
6d7eca42b7
commit
c0ce893711
|
@ -464,6 +464,8 @@ SecureSocket::secureConnect(int socket)
|
||||||
{
|
{
|
||||||
createSSL();
|
createSSL();
|
||||||
|
|
||||||
|
load_certificates(barrier::DataDirectories::ssl_certificate_path());
|
||||||
|
|
||||||
// attach the socket descriptor
|
// attach the socket descriptor
|
||||||
SSL_set_fd(m_ssl->m_ssl, socket);
|
SSL_set_fd(m_ssl->m_ssl, socket);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue