crypto/x509: x509ignoreCN=1 breaks TestCertificateParse #34252
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, both with go1.13 and tip (88076eb).
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I spotted this running
./all.bash
against tip, but it can be reproduced with:$ GODEBUG=x509ignoreCN=1 go test -count 1 crypto/x509
What did you expect to see?
What did you see instead?
I understand that
x509ignoreCN=1
is experimental, but it is documented—and noted that it may become the default—so it seems like the test should be made to pass.x509.NameConstraintsWithoutSANs:
/cc @FiloSottile
The text was updated successfully, but these errors were encountered: