this is why apps shouldn't be able to change cert values...

This commit is contained in:
ian.mcgreer%sun.com 2001-12-18 21:11:41 +00:00
Родитель 3a7ddd351a
Коммит d137b5ea39
1 изменённых файлов: 0 добавлений и 1 удалений

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

@ -340,7 +340,6 @@ AddCert(PK11SlotInfo *slot, CERTCertDBHandle *handle, char *name, char *trusts,
if ( emailcert )
CERT_SaveSMimeProfile(tempCert, NULL, NULL);
#else
cert->trust = trust;
rv = PK11_Authenticate(slot, PR_TRUE, pwdata);
if (rv != SECSuccess) {
SECU_PrintError(progName, "could authenticate to token or database");