Remove unneeded master access revoke command.
Revoking master access currently simply means to revoke access to the default keyring.
This commit is contained in:
parent
f3f13a2fc9
commit
5d4a0da455
@ -37,7 +37,6 @@ enum {
|
||||
KEY_STORE_GET_NEXT_MASTER_KEYRING = 'KnrM',
|
||||
KEY_STORE_IS_KEYRING_ACCESSIBLE = 'KiaR',
|
||||
KEY_STORE_REVOKE_ACCESS = 'KvaR',
|
||||
KEY_STORE_REVOKE_MASTER_ACCESS = 'KvaM',
|
||||
KEY_STORE_GET_NEXT_APPLICATION = 'KnKA',
|
||||
KEY_STORE_REMOVE_APPLICATION = 'KrKA',
|
||||
};
|
||||
|
@ -328,8 +328,7 @@ BKeyStore::RevokeAccess(const char* keyring)
|
||||
status_t
|
||||
BKeyStore::RevokeMasterAccess()
|
||||
{
|
||||
BMessage message(KEY_STORE_REVOKE_MASTER_ACCESS);
|
||||
return _SendKeyMessage(message, NULL);
|
||||
return RevokeAccess(NULL);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user