Remove unneeded master access revoke command.

Revoking master access currently simply means to revoke access
to the default keyring.
This commit is contained in:
Michael Lotz 2012-01-06 11:10:51 +01:00 committed by Ryan Leavengood
parent f3f13a2fc9
commit 5d4a0da455
2 changed files with 1 additions and 3 deletions

View File

@ -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',
};

View File

@ -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);
}