diff options
author | cfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2008-04-04 17:40:09 +0000 |
---|---|---|
committer | cfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2008-04-04 17:40:09 +0000 |
commit | 8833331ed583703846578a3d3326953a4e6fac74 (patch) | |
tree | 527d8621968f0c2d0a64bd1895a33a6c1d64dc21 /pki | |
parent | cf207ff991f19604cd9c939d2e58ced032577080 (diff) | |
download | pki-8833331ed583703846578a3d3326953a4e6fac74.tar.gz pki-8833331ed583703846578a3d3326953a4e6fac74.tar.xz pki-8833331ed583703846578a3d3326953a4e6fac74.zip |
bug# 439052 - CMC CRMF requests cause exception in logging: Unmatched braces in the pattern
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@16 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java | 6 | ||||
-rw-r--r-- | pki/linux/common/pki-common.spec | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java b/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java index 0ad72cf89..df90587e2 100644 --- a/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java +++ b/pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java @@ -470,6 +470,7 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, TaggedRequest.Type type = taggedRequest.getType(); if (type.equals(TaggedRequest.PKCS10)) { + CMS.debug("CMCAuth: in PKCS10"); TaggedCertificationRequest tcr = taggedRequest.getTcr(); int p10Id = tcr.getBodyPartID().intValue(); @@ -535,6 +536,7 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, } } else if (type.equals(TaggedRequest.CRMF)) { + CMS.debug("CMCAuth: in CRMF"); try { CertReqMsg crm = taggedRequest.getCrm(); @@ -550,8 +552,8 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, // reset value of auditCertSubject if( name != null ) { - byte[] namebyte = ASN1Util.encode(name); - String ss = new String(namebyte); + String ss = name.getRFC1485(); + auditCertSubject = ss; if( auditCertSubject.equals( "" ) ) { auditCertSubject = diff --git a/pki/linux/common/pki-common.spec b/pki/linux/common/pki-common.spec index fbb46e9b4..04ad060e5 100644 --- a/pki/linux/common/pki-common.spec +++ b/pki/linux/common/pki-common.spec @@ -33,7 +33,7 @@ ## Package Header Definitions %define base_name %{base_prefix}-%{base_component} %define base_version 1.0.0 -%define base_release 1 +%define base_release 2 %define base_group System Environment/Base %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -294,6 +294,8 @@ chmod 00755 %{_datadir}/%{base_prefix}/setup/postinstall ############################################################################### %changelog +* Fri Apr 4 2008 Christina Fu <cfu@redhat.com> 1.0.0-2 +- Fixed bug #439052 - CMC CRMF requests cause exception in logging: Unmatched braces in the pattern * Tue Feb 19 2008 PKI Team <pki-devel@redhat.com> 1.0.0-1 - Initial open source version based upon proprietary Red Hat Certificate System (RHCS) 7.3. |