MYIdentity.m
changeset 6 2d7692f9b6b4
parent 4 f4709533c816
child 8 4c0eafa7b233
     1.1 --- a/MYIdentity.m	Thu Apr 09 21:36:21 2009 -0700
     1.2 +++ b/MYIdentity.m	Thu Apr 09 22:46:48 2009 -0700
     1.3 @@ -30,6 +30,7 @@
     1.4  }
     1.5  
     1.6  
     1.7 +#if !TARGET_OS_IPHONE
     1.8  - (id) initWithCertificateRef: (SecCertificateRef)certificateRef {
     1.9      self = [super initWithCertificateRef: certificateRef];
    1.10      if (self) {
    1.11 @@ -41,6 +42,7 @@
    1.12      }
    1.13      return self;
    1.14  }
    1.15 +#endif
    1.16  
    1.17  - (void) dealloc
    1.18  {
    1.19 @@ -66,6 +68,8 @@
    1.20  }
    1.21  
    1.22  
    1.23 +#if !TARGET_OS_IPHONE
    1.24 +
    1.25  + (MYIdentity*) preferredIdentityForName: (NSString*)name
    1.26  {
    1.27      Assert(name);
    1.28 @@ -82,4 +86,6 @@
    1.29                   @"SecIdentitySetPreference");
    1.30  }
    1.31  
    1.32 +#endif !TARGET_OS_IPHONE
    1.33 +
    1.34  @end