Message ID | 08284fa8e845e28da3c9a85d06475d5fbeb5cfcb.1708212896.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9032bcad82f45a403e4a8de86e1fcb4bfd1ab282 |
Headers | show |
Series | osxkeychain: bring in line with other credential helpers | expand |
diff --git a/contrib/credential/osxkeychain/git-credential-osxkeychain.c b/contrib/credential/osxkeychain/git-credential-osxkeychain.c index dc294ae944a..e9cee3aed45 100644 --- a/contrib/credential/osxkeychain/git-credential-osxkeychain.c +++ b/contrib/credential/osxkeychain/git-credential-osxkeychain.c @@ -182,7 +182,8 @@ static OSStatus delete_internet_password(void) if (!protocol || !host) return -1; - attrs = CREATE_SEC_ATTRIBUTES(NULL); + attrs = CREATE_SEC_ATTRIBUTES(kSecMatchLimit, kSecMatchLimitAll, + NULL); result = SecItemDelete(attrs); CFRelease(attrs);