From: Jay Freeman (saurik) Date: Fri, 25 Feb 2011 19:18:14 +0000 (-0800) Subject: Expose allowsAnyHTTPSCertificateForHost private API. X-Git-Tag: v1.1.0%b1~182 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/5a6527386d914994e00cfe78caff1df7f8c72cbd?ds=inline Expose allowsAnyHTTPSCertificateForHost private API. --- diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 47463355..b74cc647 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -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