diff -r f4709533c816 -r 2d7692f9b6b4 MYIdentity.m --- a/MYIdentity.m Thu Apr 09 21:36:21 2009 -0700 +++ b/MYIdentity.m Thu Apr 09 22:46:48 2009 -0700 @@ -30,6 +30,7 @@ } +#if !TARGET_OS_IPHONE - (id) initWithCertificateRef: (SecCertificateRef)certificateRef { self = [super initWithCertificateRef: certificateRef]; if (self) { @@ -41,6 +42,7 @@ } return self; } +#endif - (void) dealloc { @@ -66,6 +68,8 @@ } +#if !TARGET_OS_IPHONE + + (MYIdentity*) preferredIdentityForName: (NSString*)name { Assert(name); @@ -82,4 +86,6 @@ @"SecIdentitySetPreference"); } +#endif !TARGET_OS_IPHONE + @end