diff options
author | Marino Faggiana <ios@nextcloud.com> | 2017-09-04 19:53:15 +0300 |
---|---|---|
committer | Marino Faggiana <ios@nextcloud.com> | 2017-09-04 19:53:15 +0300 |
commit | 9a0d40a05a048dd544d102f123b030ec31dfb560 (patch) | |
tree | add8765c31c339c08e8da1fe87dcd843284dd594 | |
parent | 3b6c822a361765102085c5b886c1a8603e7bf4e0 (diff) |
remove request view for NSURLErrorServerCertificateUntrusted
-rw-r--r-- | iOSClient/Networking/CCNetworking.m | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/iOSClient/Networking/CCNetworking.m b/iOSClient/Networking/CCNetworking.m index 5894b46d6..a452f37a0 100644 --- a/iOSClient/Networking/CCNetworking.m +++ b/iOSClient/Networking/CCNetworking.m @@ -397,10 +397,6 @@ errorCode = httpResponse.statusCode; else errorCode = error.code; - - // Request trusted certificated - if (errorCode == NSURLErrorServerCertificateUntrusted) - [[CCCertificate sharedManager] presentViewControllerCertificateWithTitle:[error localizedDescription] viewController:(UIViewController *)self.delegate delegate:self]; } // ----------------------- DOWNLOAD ----------------------- |