-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with deleteItemForUsername in SFHFKeychainUtils.m #5
Comments
That would be incorrect as well: So in essence, |
As a side note, I totally don't understand why but although no errors are reported, the item isn't deleted from the keychain :( On 10.8.2 (Mac) — any idea? Someone mind testing? |
The line (423 on
if (error != nil && status != noErr)
Should be
if (error != nil || status != noErr)
Because it is possible for the error to be nil but for the status to return something different. In that case (e.g. the item was not found) we would want to return NO
The text was updated successfully, but these errors were encountered: