Skip to content

Commit

Permalink
fix: wrong error log for found private key in quic-go backend
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Sep 20, 2024
1 parent 2f80598 commit 6353c63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/backend_quicgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ func loadTLSConfig(certPEM, keyPEM string) *tls.Config {
return nil
}
if keyDERBlock.Type == "PRIVATE KEY" || strings.HasSuffix(keyDERBlock.Type, " PRIVATE KEY") {
logger.Error("Certificate PEM key parsing in file %s failed", dataKey)
break
}
skippedBlockTypes = append(skippedBlockTypes, keyDERBlock.Type)
Expand Down

0 comments on commit 6353c63

Please sign in to comment.