diff options
| author | Christina Fu <cfu@redhat.com> | 2013-03-26 16:27:42 -0700 |
|---|---|---|
| committer | Christina Fu <cfu@redhat.com> | 2013-03-26 16:27:42 -0700 |
| commit | f06ed0bcc7e50ac6fd38d55ae8f42f14a2ec6bd2 (patch) | |
| tree | 2111a291f591cbf2004b819cfd6e025014aa9154 /base | |
| parent | 479f7849d0cb52b520f77386cc15b6081c379bb5 (diff) | |
Bug 824920 - NSCertTypeExtDefault.java incorrectly encodes NSCertTypeExtension bits (patch from mpoole)
Diffstat (limited to 'base')
| -rw-r--r-- | base/common/src/com/netscape/cms/profile/def/NSCertTypeExtDefault.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/common/src/com/netscape/cms/profile/def/NSCertTypeExtDefault.java b/base/common/src/com/netscape/cms/profile/def/NSCertTypeExtDefault.java index 1ad86ea5f..731581945 100644 --- a/base/common/src/com/netscape/cms/profile/def/NSCertTypeExtDefault.java +++ b/base/common/src/com/netscape/cms/profile/def/NSCertTypeExtDefault.java @@ -405,9 +405,10 @@ public class NSCertTypeExtDefault extends EnrollExtDefault { bits[1] = getConfigBoolean(CONFIG_SSL_SERVER); bits[2] = getConfigBoolean(CONFIG_EMAIL); bits[3] = getConfigBoolean(CONFIG_OBJECT_SIGNING); - bits[4] = getConfigBoolean(CONFIG_SSL_CA); - bits[5] = getConfigBoolean(CONFIG_EMAIL_CA); - bits[6] = getConfigBoolean(CONFIG_OBJECT_SIGNING_CA); + bits[4] = false; + bits[5] = getConfigBoolean(CONFIG_SSL_CA); + bits[6] = getConfigBoolean(CONFIG_EMAIL_CA); + bits[7] = getConfigBoolean(CONFIG_OBJECT_SIGNING_CA); try { ext = new NSCertTypeExtension(critical, bits); } catch (Exception e) { |
