зеркало из https://github.com/mozilla/pjs.git
fixes bug 406724, r/sr=dveditz, a=schrep
This commit is contained in:
Родитель
620c7e89c8
Коммит
0b95ad0530
|
@ -137,10 +137,11 @@ EmbedCertificates::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx,
|
|||
PRUint32 *_trust,
|
||||
PRBool *_retval)
|
||||
{
|
||||
*_retval = PR_TRUE;
|
||||
*_trust |= nsIX509CertDB::TRUSTED_SSL;
|
||||
*_trust |= nsIX509CertDB::TRUSTED_EMAIL;
|
||||
*_trust |= nsIX509CertDB::TRUSTED_OBJSIGN;
|
||||
// If an implementation chooses not to implement UI for displaying
|
||||
// the cert and asking the user for confirmation,
|
||||
// then this function must return PR_FALSE.
|
||||
*_retval = PR_FALSE;
|
||||
*_trust = nsIX509CertDB::UNTRUSTED;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -244,7 +245,10 @@ EmbedCertificates::DisplayProtectedAuth(
|
|||
NS_IMETHODIMP
|
||||
EmbedCertificates::ConfirmKeyEscrow(nsIX509Cert *escrowAuthority, PRBool *_retval)
|
||||
{
|
||||
*_retval = PR_TRUE;
|
||||
// If an implementation chooses not to implement UI that asks the user for
|
||||
// confirmation to hand out the private key,
|
||||
// then this function must return PR_FALSE.
|
||||
*_retval = PR_FALSE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче