Skip to content
Browse files

Test Keychain

  • Loading branch information...
1 parent 5abd5f1 commit b59acecb01cf42701498ddee8af7ce28d5196952 Philip Messlehner committed Jan 18, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 Classes/SFHFKeychainUtils.m
View
4 Classes/SFHFKeychainUtils.m
@@ -32,15 +32,15 @@
static NSString *SFHFKeychainUtilsErrorDomain = @"SFHFKeychainUtilsErrorDomain";
-#if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 && TARGET_IPHONE_SIMULATOR
+#if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 && (TARGET_IPHONE_SIMULATOR || !TARGET_OS_IPHONE)
@interface SFHFKeychainUtils (PrivateMethods)
+ (SecKeychainItemRef) getKeychainItemReferenceForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
@end
#endif
@implementation SFHFKeychainUtils
-#if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 && TARGET_IPHONE_SIMULATOR
+#if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 && (TARGET_IPHONE_SIMULATOR || !TARGET_OS_IPHONE)
+ (NSString *) getPasswordForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error {
if (!username || !serviceName) {

0 comments on commit b59acec

Please sign in to comment.
Something went wrong with that request. Please try again.