diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/cert')
-rw-r--r-- | pki/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java b/pki/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java index fb97a5ccb..669200575 100644 --- a/pki/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java +++ b/pki/base/common/src/com/netscape/cmscore/cert/PrettyPrintFormat.java @@ -104,6 +104,9 @@ public class PrettyPrintFormat implements IPrettyPrintFormat { public String toHexString(byte[] in, int indentSize, int lineLen, String separator) { + + if (in == null) return ""; + StringBuffer sb = new StringBuffer(); int hexCount = 0; char c[]; |