Security: add more security_runtime_error messages
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
d3afe61b78
commit
6b8596830d
@ -56,6 +56,8 @@ namespace macstd
|
||||
{
|
||||
// Handle common errors Apple does not provide message strings for.
|
||||
switch (num) {
|
||||
case errSecWrPerm: return "Write permissions error";
|
||||
case errSecDuplicateItem: return "The specified item already exists in the keychain";
|
||||
case errAuthorizationCanceled: return "Authorization was canceled by user";
|
||||
case errAuthorizationDenied: return "Authorization was denied";
|
||||
case errAuthorizationInteractionNotAllowed: return "User interaction not allowed for authorization";
|
||||
|
Loading…
x
Reference in New Issue
Block a user