diff --git a/jwe/jwe_test.go b/jwe/jwe_test.go index 3581974d..c4bc4668 100644 --- a/jwe/jwe_test.go +++ b/jwe/jwe_test.go @@ -10,6 +10,7 @@ import ( "crypto/rsa" "encoding/base64" "fmt" + "math" "os" "strings" "testing" @@ -937,7 +938,7 @@ func TestGHSA_7f9x_gw85_8grf(t *testing.T) { // NOTE: HAS GLOBAL EFFECT // Should allow for timeout to occur - jwe.Settings(jwe.WithMaxPBES2Count(100000000000000000)) + jwe.Settings(jwe.WithMaxPBES2Count(math.MaxInt32)) // put it back to normal after the test defer jwe.Settings(jwe.WithMaxPBES2Count(10000))