mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Fix bug 200224. Eliminate null ptr dereference.
This commit is contained in:
parent
6600d04115
commit
e2e7547270
@ -2719,7 +2719,7 @@ main(int argc, char **argv)
|
||||
if (certutil.commands[cmd_CheckCertValidity].activated) {
|
||||
/* XXX temporary hack for fips - must log in to get priv key */
|
||||
if (certutil.options[opt_VerifySig].activated) {
|
||||
if (PK11_NeedLogin(slot))
|
||||
if (slot && PK11_NeedLogin(slot))
|
||||
PK11_Authenticate(slot, PR_TRUE, &pwdata);
|
||||
}
|
||||
rv = ValidateCert(certHandle, name,
|
||||
|
Loading…
Reference in New Issue
Block a user