mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8187985: Broken certificate number in debug output
Reviewed-by: weijun
This commit is contained in:
parent
ebd0400570
commit
06331455d2
1 changed files with 2 additions and 2 deletions
|
@ -2746,12 +2746,12 @@ public final class Main {
|
||||||
if (rfc) {
|
if (rfc) {
|
||||||
dumpCert(cert, out);
|
dumpCert(cert, out);
|
||||||
} else {
|
} else {
|
||||||
out.println("Certificate #" + i++);
|
out.println("Certificate #" + i);
|
||||||
out.println("====================================");
|
out.println("====================================");
|
||||||
printX509Cert((X509Certificate)cert, out);
|
printX509Cert((X509Certificate)cert, out);
|
||||||
out.println();
|
out.println();
|
||||||
}
|
}
|
||||||
checkWeak(oneInMany(rb.getString("the.certificate"), i, chain.size()), cert);
|
checkWeak(oneInMany(rb.getString("the.certificate"), i++, chain.size()), cert);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (debug) {
|
if (debug) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue