diff options
author | awnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-02-19 01:38:49 +0000 |
---|---|---|
committer | awnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-02-19 01:38:49 +0000 |
commit | e523abe0354233546e194f9cb409b29b9514c5dd (patch) | |
tree | 1b4f8902adfe12e360998e96b3a0689d5f5c86db /pki/base/common | |
parent | bbb2da70dae15ad10346e83df4f82cc32d6ee289 (diff) | |
download | pki-e523abe0354233546e194f9cb409b29b9514c5dd.tar.gz pki-e523abe0354233546e194f9cb409b29b9514c5dd.tar.xz pki-e523abe0354233546e194f9cb409b29b9514c5dd.zip |
Fixed bugzilla bug #549879.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@986 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java b/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java index d1760a21e..5ea1f1c48 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java +++ b/pki/base/common/src/com/netscape/cms/servlet/cert/GetInfo.java @@ -193,6 +193,7 @@ CMS.debug("*** formFile = "+formFile); String crlDescriptions = ""; StringBuffer crlSplits = new StringBuffer(); String recentChanges = ""; + String crlTesting = ""; boolean isDeltaCRLEnabled = false; String masterHost = CMS.getConfigStore().getString("master.ca.agent.host", ""); @@ -247,6 +248,10 @@ CMS.debug("*** formFile = "+formFile); if (recentChanges.length() > 0) recentChanges += "+"; recentChanges += "-, -, -"; + + if (crlTesting.length() > 0) + crlTesting += "+"; + crlTesting += "0"; } } @@ -307,6 +312,10 @@ CMS.debug("*** formFile = "+formFile); if (i + 1 < splits.size()) crlSplits.append(","); } + + if (crlTesting.length() > 0) + crlTesting += "+"; + crlTesting += ((ip.isCRLCacheTestingEnabled())?"1":"0"); } } @@ -319,6 +328,7 @@ CMS.debug("*** formFile = "+formFile); header.addStringValue("crlSizes", crlSizes); header.addStringValue("deltaSizes", deltaSizes); header.addStringValue("crlSplits", crlSplits.toString()); + header.addStringValue("crlTesting", crlTesting); header.addBooleanValue("isDeltaCRLEnabled", isDeltaCRLEnabled); header.addStringValue("master_host", masterHost); |