浏览代码

Logging a use of certificate store file

(part of Bug 2034)

Source commit: e7f1625dcb6a846ac2489409e34458f0f3f6a83d
Martin Prikryl 4 年之前
父节点
当前提交
7cf94ff42a
共有 1 个文件被更改,包括 4 次插入0 次删除
  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)