diff options
author | relyea%netscape.com <devnull@localhost> | 2001-07-11 23:57:01 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2001-07-11 23:57:01 +0000 |
commit | 5c9ee205ae67b22a9c06e9d73cf5cdaa1cf76853 (patch) | |
tree | d765e71599bd8abf25dcf4fc0dd2c027fbc3c198 | |
parent | 7d6d22333c06afe0895b65dcd82fecbdfd3ff1b3 (diff) | |
download | nss-hg-5c9ee205ae67b22a9c06e9d73cf5cdaa1cf76853.tar.gz |
Bug 90413
-rw-r--r-- | security/nss/lib/certdb/pcertdb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/nss/lib/certdb/pcertdb.c b/security/nss/lib/certdb/pcertdb.c index 20ce6f02a..f6601d4cb 100644 --- a/security/nss/lib/certdb/pcertdb.c +++ b/security/nss/lib/certdb/pcertdb.c @@ -7198,6 +7198,13 @@ CERT_SaveImportedCert(CERTCertificate *cert, SECCertUsage usage, } } break; + case certUsageAnyCA: + trust.sslFlags = CERTDB_VALID_CA; + break; + case certUsageSSLCA: + trust.sslFlags = CERTDB_VALID_CA | + CERTDB_TRUSTED_CA | CERTDB_TRUSTED_CLIENT_CA; + break; default: /* XXX added to quiet warnings; no other cases needed? */ break; } |