mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Fix printf mistake
This commit is contained in:
parent
560ab984e3
commit
61508d8bf1
@ -42,7 +42,7 @@ type certPaths struct {
|
||||
func (cert *DiscoveredCert) pemChain() []byte {
|
||||
var buffer bytes.Buffer
|
||||
if cert.ChainError != nil {
|
||||
fmt.Fprintln(&buffer, "Warning: this chain may be incomplete or invalid: %s", cert.ChainError)
|
||||
fmt.Fprintln(&buffer, "Warning: this chain may be incomplete or invalid: ", cert.ChainError)
|
||||
}
|
||||
for _, certBytes := range cert.Chain {
|
||||
if err := pem.Encode(&buffer, &pem.Block{
|
||||
|
Loading…
x
Reference in New Issue
Block a user