Skip to content

Commit 8a47e10

Browse files
committed
fix: bad comment
1 parent a693532 commit 8a47e10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/envoy/ingress_translator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ func validateTlsSecret(secret *v1.Secret) (bool, error) {
338338
return false, nil
339339
}
340340

341-
// discard P-384 EC private keys
342-
// see https://github.com/envoyproxy/envoy/issues/10855
341+
// discard > P-521 EC private keys
342+
// P-256, P-384 & P-521 are now supported (see https://github.com/envoyproxy/envoy/issues/10855)
343343
block, _ := pem.Decode(tlsCert)
344344
if block == nil {
345345
return false, fmt.Errorf("error parsing x509 certificate - no PEM block found")

0 commit comments

Comments
 (0)