Skip to content

Commit

Permalink
Fix: loading of the certificate occurs even when CertCheck is disabled (
Browse files Browse the repository at this point in the history
  • Loading branch information
dnzbk authored Dec 25, 2024
1 parent f41fc9f commit c66afad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daemon/connect/TlsSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ void TlsSocket::Init()

void TlsSocket::InitOptions(const char* certStore)
{
if (Util::EmptyStr(certStore))
return;

m_certStore = certStore;

#ifdef HAVE_OPENSSL
Expand Down

0 comments on commit c66afad

Please sign in to comment.