1.1 --- a/MYKeychainItem.m Tue Apr 07 10:56:58 2009 -0700
1.2 +++ b/MYKeychainItem.m Thu Apr 09 22:46:48 2009 -0700
1.3 @@ -50,10 +50,8 @@
1.4 }
1.5
1.6 - (BOOL) isEqual: (id)obj {
1.7 - // Require the objects to be of the same class, so that a MYPublicKey will not be equal to a
1.8 - // MYKeyPair with the same public key.
1.9 - return (obj == self) ||
1.10 - ([obj class] == [self class] && CFEqual(_itemRef, [obj keychainItemRef]));
1.11 + return (obj == self) ||
1.12 + ([obj isKindOfClass: [MYKeychainItem class]] && CFEqual(_itemRef, [obj keychainItemRef]));
1.13 }
1.14
1.15 - (NSUInteger) hash {