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
2013-03-05 11:00:03 -05:00
committed by Ryan Leavengood
parent f3f13a2fc9
commit 5d4a0da455
2 changed files with 1 additions and 3 deletions
-1
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',
};
+1 -2
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);
}