mirror of https://github.com/debauchee/barrier.git
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();
|
||||
|
||||
load_certificates(barrier::DataDirectories::ssl_certificate_path());
|
||||
|
||||
// attach the socket descriptor
|
||||
SSL_set_fd(m_ssl->m_ssl, socket);
|
||||
|
||||
|
|
Loading…
Reference in New Issue