Browse Source

Logging a use of certificate store file

(part of Bug 2034)

Source commit: e7f1625dcb6a846ac2489409e34458f0f3f6a83d
Martin Prikryl 4 years ago
parent
commit
7cf94ff42a
1 changed files with 4 additions and 0 deletions
  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)