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:
javi%netscape.com 2000-05-31 22:23:04 +00:00
parent e771f6a310
commit 10cd56f365

View File

@ -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