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/base/common/src/com | |
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/base/common/src/com')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/authentication/CMCAuth.java | 6 |
1 files changed, 4 insertions, 2 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 = |