summaryrefslogtreecommitdiffstats
path: root/pki/base/common
diff options
context:
space:
mode:
authorcfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-08-17 15:13:01 +0000
committercfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-08-17 15:13:01 +0000
commitebb6205c768581ec0ba29a3a75ac7918c9427bc6 (patch)
treec93e8cdd5a8df0bc0c2032c8b50a757599caf60d /pki/base/common
parent4ac1a428d75c46843efce2cc20fd3daa8bc217df (diff)
downloadpki-ebb6205c768581ec0ba29a3a75ac7918c9427bc6.tar.gz
pki-ebb6205c768581ec0ba29a3a75ac7918c9427bc6.tar.xz
pki-ebb6205c768581ec0ba29a3a75ac7918c9427bc6.zip
615827 - profile policies need more than 5 policy mappings (seem hardcoded)
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1206 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common')
-rw-r--r--pki/base/common/src/com/netscape/cms/profile/def/PolicyMappingsExtDefault.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pki/base/common/src/com/netscape/cms/profile/def/PolicyMappingsExtDefault.java b/pki/base/common/src/com/netscape/cms/profile/def/PolicyMappingsExtDefault.java
index 693f3ba4f..7432b39d0 100644
--- a/pki/base/common/src/com/netscape/cms/profile/def/PolicyMappingsExtDefault.java
+++ b/pki/base/common/src/com/netscape/cms/profile/def/PolicyMappingsExtDefault.java
@@ -266,7 +266,7 @@ public class PolicyMappingsExtDefault extends EnrollExtDefault {
if (ext == null)
return "";
- int num_mappings = DEF_NUM_MAPPINGS;
+ int num_mappings = getNumMappings();
Enumeration maps = ext.getMappings();