Skip to content

Commit

Permalink
fix: disable CRL Revoke test on Windows too :-(
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Horton <[email protected]>
  • Loading branch information
madpah committed Oct 18, 2024
1 parent 13a753d commit 93f241f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssl-inspector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func TestCheckSSL(t *testing.T) {
assert.False(t, valid)
})

if runtime.GOOS != "linux" {
// Looks like Linux does not do realtime CRL checks - at least on Ubuntu
if runtime.GOOS == "darwin" {
// Looks like Windows and Linux do not do realtime CRL checks
t.Run("revokedAndTrustedByOS", func(t *testing.T) {
valid, messages, err := checkSSL("https://revoked.badssl.com")
assert.NoError(t, err)
Expand Down

0 comments on commit 93f241f

Please sign in to comment.