fixes pk12util import failure
git-svn-id: svn://10.0.0.236/trunk@107734 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
bc75854c14
commit
eaed36d3e2
@ -2447,7 +2447,7 @@ PK11_FindCertFromDERCert(PK11SlotInfo *slot, CERTCertificate *cert,
|
||||
c = NSSTrustDomain_FindCertificateByEncodedCertificate(
|
||||
STAN_GetDefaultTrustDomain(),
|
||||
&derCert);
|
||||
if (cert) {
|
||||
if (c) {
|
||||
rvCert = STAN_GetCERTCertificate(c);
|
||||
}
|
||||
return rvCert;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user