Permalink
Browse files

Resolved static analyzer warnings in SFHFKeychainUtils and adjusted s…

…toreUsername:... and deleteItemForUsername:... to return BOOL instead of void.
  • Loading branch information...
1 parent 7a40476 commit 6c4eb60ad577737a72097d0041f3ceb59e6c41ad Justin Williams committed Jun 9, 2010
Showing with 153 additions and 103 deletions.
  1. +4 −4 security/SFHFKeychainUtils.h
  2. +149 −99 security/SFHFKeychainUtils.m
@@ -31,11 +31,11 @@
@interface SFHFKeychainUtils : NSObject {
-
+
}
+ (NSString *) getPasswordForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
-+ (void) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting error: (NSError **) error;
-+ (void) deleteItemForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
++ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting error: (NSError **) error;
++ (BOOL) deleteItemForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
-@end
+@end
Oops, something went wrong.

0 comments on commit 6c4eb60

Please sign in to comment.