diff --git a/headers/private/app/KeyStoreDefs.h b/headers/private/app/KeyStoreDefs.h index d1198a6d3a..315944c18c 100644 --- a/headers/private/app/KeyStoreDefs.h +++ b/headers/private/app/KeyStoreDefs.h @@ -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', }; diff --git a/src/kits/app/KeyStore.cpp b/src/kits/app/KeyStore.cpp index 91d9fc8be8..04309bb317 100644 --- a/src/kits/app/KeyStore.cpp +++ b/src/kits/app/KeyStore.cpp @@ -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); }