summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorawnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-08-05 01:53:00 +0000
committerawnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-08-05 01:53:00 +0000
commitac308aa5851cf96bacc9c965962ef71413b2c5c7 (patch)
treeb4e64392bd1eda136c7684e8b78828f88c6148cb
parente94ce6b4d93a440d57ceec88b722432a973e3bbd (diff)
downloadpki-ac308aa5851cf96bacc9c965962ef71413b2c5c7.tar.gz
pki-ac308aa5851cf96bacc9c965962ef71413b2c5c7.tar.xz
pki-ac308aa5851cf96bacc9c965962ef71413b2c5c7.zip
Fixed bugzilla bug #514093.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@722 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
-rw-r--r--pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template8
1 files changed, 7 insertions, 1 deletions
diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template
index 335757f1e..fcaa1adf8 100644
--- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template
+++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template
@@ -177,7 +177,13 @@ function getRevocationReason(revocationReason)
"Affiliation changed",
"Certificate superceded",
"Cessation of operation",
- "Certificate is on hold");
+ "Certificate is on hold",
+ "Unspecified", // value 7 is not used
+ "Remove from CRL",
+ "Privilege withdrawn",
+ "AA key compromise");
+ if (revocationReason < 0 || revocationReason >= reasons.length)
+ revocationReason = 0;
return reasons[revocationReason];
}