Skip to content

Commit

Permalink
Fix: attempting to load a certificate even when CertCheck is turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
dnzbk committed Dec 24, 2024
1 parent f41fc9f commit f57108b
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 f57108b

Please sign in to comment.