diff options
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. |