summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-04-25 22:12:20 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-05-16 01:48:24 +0200
commit587cfa90b3b065f4c9c5bd0292202d5d9a4c2f54 (patch)
treeb897c9fd016bcf75ce133f31bf09e50f530641fd /base/common/src/com/netscape
parent4557cd497ecc3c753461617dd8f10067a3815042 (diff)
downloadpki-587cfa90b3b065f4c9c5bd0292202d5d9a4c2f54.tar.gz
pki-587cfa90b3b065f4c9c5bd0292202d5d9a4c2f54.tar.xz
pki-587cfa90b3b065f4c9c5bd0292202d5d9a4c2f54.zip
Simplified conditions to log CERT_REQUEST_PROCESSED.
The conditions to log CERT_REQUEST_PROCESSED have been simplified since the auditInfoCertValue() will return SIGNED_AUDIT_EMPTY_VALUE if the certificate object is not available in the request object. https://pagure.io/dogtagpki/issue/2636 Change-Id: I946481c17729d2c349c949def113fc5563ec90ad
Diffstat (limited to 'base/common/src/com/netscape')
-rw-r--r--base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java b/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java
index 777434bd7..a17f7d500 100644
--- a/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java
+++ b/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java
@@ -96,7 +96,7 @@ public class CertRequestProcessedEvent extends AuditEvent {
* @param x509cert an X509CertImpl
* @return cert string containing the certificate
*/
- public static String auditInfoCertValue(X509CertImpl x509cert) {
+ String auditInfoCertValue(X509CertImpl x509cert) {
if (x509cert == null) {
return ILogger.SIGNED_AUDIT_EMPTY_VALUE;