Explorar o código

Logging a use of certificate store file

(part of Bug 2034)

Source commit: e7f1625dcb6a846ac2489409e34458f0f3f6a83d
Martin Prikryl %!s(int64=4) %!d(string=hai) anos
pai
achega
7cf94ff42a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      source/core/NeonIntf.cpp

+ 4 - 0
source/core/NeonIntf.cpp

@@ -115,6 +115,10 @@ void InitNeonSession(ne_session * Session, TProxyMethod ProxyMethod, const Unico
   if (FileExists(CertificateStorage))
   {
     ne_ssl_set_certificates_storage(Session, StrToNeon(CertificateStorage));
+    if (Terminal != NULL)
+    {
+      Terminal->LogEvent(FORMAT(L"Using certificate store \"%s\"", (CertificateStorage)));
+    }
   }
 
   if (Terminal != NULL)