Skip to content

Commit b5ba3f0

Browse files
committed
Remove pki NoNames test
OpenSSL 3.x returns an error when the subject name is empty on a cert. The cert is no longer valid so we don't need the test.
1 parent 5b30cfc commit b5ba3f0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/pki/pki_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,6 @@ func TestLeafCertificate(t *testing.T) {
225225
commonName string
226226
dnsNames []string
227227
}{
228-
{
229-
test: "NoNames",
230-
231-
// This is a valid certificate according to OpenSSL, in which name
232-
// verification is entirely optional.
233-
},
234228
{
235229
test: "OnlyCommonName", commonName: "some-cn",
236230
},

0 commit comments

Comments
 (0)