diff --git a/daemon/connect/TlsSocket.cpp b/daemon/connect/TlsSocket.cpp index 4c0856e8..14a654c7 100644 --- a/daemon/connect/TlsSocket.cpp +++ b/daemon/connect/TlsSocket.cpp @@ -189,6 +189,9 @@ void TlsSocket::Init() void TlsSocket::InitOptions(const char* certStore) { + if (Util::EmptyStr(certStore)) + return; + m_certStore = certStore; #ifdef HAVE_OPENSSL