提交 8d659cc0 编写于 作者: J Jan Riehn 提交者: Christian Noon

[PR #696] More flexible server trust policy via public method.

上级 cf8127a1
...@@ -42,7 +42,7 @@ public class ServerTrustPolicyManager { ...@@ -42,7 +42,7 @@ public class ServerTrustPolicyManager {
self.policies = policies self.policies = policies
} }
func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? { public func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? {
return policies[host] return policies[host]
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册