Skip to content

Problem with deleteItemForUsername in SFHFKeychainUtils.m #5

Description

@arielitovsky

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions