Explorar el Código

remove request view for NSURLErrorServerCertificateUntrusted

Marino Faggiana hace 8 años
padre
commit
9a0d40a05a
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      iOSClient/Networking/CCNetworking.m

+ 0 - 4
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 -----------------------