Add missing check for unlocked state.
This commit is contained in:
committed by
Ryan Leavengood
parent
d3b8b801a8
commit
c5469c3939
@@ -171,6 +171,9 @@ status_t
|
||||
Keyring::GetNextApplication(uint32& cookie, BString& signature,
|
||||
BString& path)
|
||||
{
|
||||
if (!fUnlocked)
|
||||
return B_NOT_ALLOWED;
|
||||
|
||||
char* nameFound = NULL;
|
||||
status_t result = fApplications.GetInfo(B_MESSAGE_TYPE, cookie++,
|
||||
&nameFound, NULL);
|
||||
|
||||
Reference in New Issue
Block a user