зеркало из https://github.com/mozilla/pjs.git
Bug #28698 r=thayes a=lord
Make crypto.logout do something useful so that the security advisor's logout button does the right thing.
This commit is contained in:
Родитель
e4e149a3f2
Коммит
73bd1425e0
|
@ -955,7 +955,15 @@ nsCrypto::Alert(const nsString& aMessage)
|
|||
NS_IMETHODIMP
|
||||
nsCrypto::Logout()
|
||||
{
|
||||
return NS_ERROR_FAILURE;
|
||||
PCMT_CONTROL control = nsnull;
|
||||
nsresult rv;
|
||||
|
||||
rv = mPSM->GetControlConnection(&control);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
CMT_LogoutAllTokens(control);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче