Update ping.go

pull/4933/head
RPRX 2025-07-25 10:13:04 +00:00 committed by GitHub
parent 65397ebbf6
commit e6aa9a6922
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func printCertificates(certs []*x509.Certificate) {
leaf = cert
}
}
fmt.Println("Certificate chain length: ", length, "(cert count:", strconv.Itoa(len(certs))+")")
fmt.Println("Certificate chain's total length: ", length, "(certs count: "+strconv.Itoa(len(certs))+")")
if leaf != nil {
fmt.Println("Cert's signature algorithm: ", leaf.SignatureAlgorithm.String())
fmt.Println("Cert's publicKey algorithm: ", leaf.PublicKeyAlgorithm.String())