8296787: Unify debug printing format of X.509 cert serial numbers

Reviewed-by: mullan, coffeys
This commit is contained in:
Ben Perez 2023-12-14 17:57:36 +00:00 committed by Sean Mullan
parent fde5b16817
commit c328f9589d
18 changed files with 62 additions and 46 deletions

View file

@ -429,8 +429,7 @@ abstract class Builder {
if (debug != null) {
debug.println("Builder.addMatchingCerts: " +
"adding target cert" +
"\n SN: " + Debug.toHexString(
targetCert.getSerialNumber()) +
"\n SN: " + Debug.toString(targetCert.getSerialNumber()) +
"\n Subject: " + targetCert.getSubjectX500Principal() +
"\n Issuer: " + targetCert.getIssuerX500Principal());
}