mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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) {
|
||||
dumpCert(cert, out);
|
||||
} else {
|
||||
out.println("Certificate #" + i++);
|
||||
out.println("Certificate #" + i);
|
||||
out.println("====================================");
|
||||
printX509Cert((X509Certificate)cert, out);
|
||||
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) {
|
||||
if (debug) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue