]> git.saurik.com Git - cydia.git/commitdiff
Expose allowsAnyHTTPSCertificateForHost private API.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 25 Feb 2011 19:18:14 +0000 (11:18 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:19 +0000 (02:41 -0800)
iPhonePrivate.h

index 47463355aa06d8418cfdc978097be42a2c4d7fb3..b74cc64765b8fd41983cbc7670915093f3c75130 100644 (file)
@@ -166,6 +166,11 @@ typedef enum {
 - (NSURL *) youTubeURL;
 @end
 
+@interface NSURLRequest (Apple)
++ (BOOL) allowsAnyHTTPSCertificateForHost:(NSString *)host;
++ (void) setAllowsAnyHTTPSCertificate:(BOOL)allow forHost:(NSString *)host;
+@end
+
 @interface NSValue (Apple)
 + (NSValue *) valueWithSize:(CGSize)size;
 @end