diff options
author | julien.pierre.bugs%sun.com <devnull@localhost> | 2006-06-06 01:08:59 +0000 |
---|---|---|
committer | julien.pierre.bugs%sun.com <devnull@localhost> | 2006-06-06 01:08:59 +0000 |
commit | 1194207691f9cb402ac0f694c7b177f1509288d0 (patch) | |
tree | ff829d7fb34ea41b8da5c496dcb5bb3c9402817a /security | |
parent | e7efbcb631ba5945e5a4cbf9c372b0c680b134ee (diff) | |
download | nss-hg-1194207691f9cb402ac0f694c7b177f1509288d0.tar.gz |
Fix for bug 340040 - add certutil option to verify an OCSP responder cert. r=nelson
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/cmd/certutil/certutil.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/nss/cmd/certutil/certutil.c b/security/nss/cmd/certutil/certutil.c index a5855ffe8..d1fb0d621 100644 --- a/security/nss/cmd/certutil/certutil.c +++ b/security/nss/cmd/certutil/certutil.c @@ -763,6 +763,9 @@ ValidateCert(CERTCertDBHandle *handle, char *name, char *date, } switch (*certUsage) { + case 'O': + usage = certificateUsageStatusResponder; + break; case 'C': usage = certificateUsageSSLClient; break; @@ -1308,6 +1311,7 @@ static void LongUsage(char *progName) FPS "%-25s V \t SSL Server\n", ""); FPS "%-25s S \t Email signer\n", ""); FPS "%-25s R \t Email Recipient\n", ""); + FPS "%-25s O \t OCSP status responder\n", ""); FPS "%-20s Cert database directory (default is ~/.netscape)\n", " -d certdir"); FPS "%-20s Cert & Key database prefix\n", |