fixes bug 406724, r/sr=dveditz, a=schrep

This commit is contained in:
kaie%kuix.de 2007-12-12 00:23:14 +00:00
Родитель 620c7e89c8
Коммит 0b95ad0530
1 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

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