marinofaggiana 3 年之前
父节点
当前提交
e95ceffe74
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Networking/NCNetworking.swift

+ 1 - 1
iOSClient/Networking/NCNetworking.swift

@@ -222,7 +222,7 @@ import Queuer
     
     
     //MARK: - Pinning check
     //MARK: - Pinning check
     
     
-    func checkTrustedChallenge(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) -> Bool {
+    private func checkTrustedChallenge(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) -> Bool {
         
         
         var trusted = false
         var trusted = false
         let protectionSpace: URLProtectionSpace = challenge.protectionSpace
         let protectionSpace: URLProtectionSpace = challenge.protectionSpace