mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
fix for 115719, user trust not being set
This commit is contained in:
parent
25c24e87e6
commit
58605d70d3
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pki3hack.c,v $ $Revision: 1.13 $ $Date: 2001/12/14 20:50:58 $ $Name: $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pki3hack.c,v $ $Revision: 1.14 $ $Date: 2001/12/18 16:04:52 $ $Name: $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
@ -496,12 +496,12 @@ fill_CERTCertificateFields(NSSCertificate *c, CERTCertificate *cc)
|
||||
cc->trust = nssTrust_GetCERTCertTrustForCert(c, cc);
|
||||
}
|
||||
} else if (instance) {
|
||||
/* trust */
|
||||
cc->trust = nssTrust_GetCERTCertTrustForCert(c, cc);
|
||||
/* slot */
|
||||
cc->slot = instance->token->pk11slot;
|
||||
/* pkcs11ID */
|
||||
cc->pkcs11ID = instance->handle;
|
||||
/* trust */
|
||||
cc->trust = nssTrust_GetCERTCertTrustForCert(c, cc);
|
||||
}
|
||||
/* database handle is now the trust domain */
|
||||
cc->dbhandle = c->object.trustDomain;
|
||||
|
Loading…
Reference in New Issue
Block a user