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

@ -1929,10 +1929,10 @@ public class X509CertSelector implements CertSelector {
}
if (debug != null) {
debug.println("X509CertSelector.match(SN: "
+ (xcert.getSerialNumber()).toString(16) + "\n Issuer: "
+ xcert.getIssuerX500Principal() + "\n Subject: " + xcert.getSubjectX500Principal()
+ ")");
debug.println("X509CertSelector.match(Serial number: "
+ Debug.toString(xcert.getSerialNumber())
+ "\n Issuer: " + xcert.getIssuerX500Principal() + "\n Subject: "
+ xcert.getSubjectX500Principal() + ")");
}
/* match on X509Certificate */