revert accidental changes while renaming

Signed-off-by: sadmansakib <ssadman8@gmail.com>
This commit is contained in:
sadmansakib 2021-05-27 02:09:37 +06:00
parent fde4323b65
commit 56d1ae1715
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ type SigningMethodRSAPSS struct {
// VerifyOptions is optional. If set overrides Options for rsa.VerifyPPS.
// Used to accept tokens signed with rsa.PSSSaltLengthAuto, what doesn't follow
// https://tools.ietf.org/html/rfc7518#section-3.5 but was used previously.
// See https://github.com/golang-jwt/jwt/issues/285#issuecomment-437451244 for details.
// See https://github.com/dgrijalva/jwt-go/issues/285#issuecomment-437451244 for details.
VerifyOptions *rsa.PSSOptions
}

View File

@ -106,7 +106,7 @@ func TestRSAPSSSaltLengthCompatibility(t *testing.T) {
},
}
// Behaves as before https://github.com/golang-jwt/jwt/issues/285 fix.
// Behaves as before https://github.com/dgrijalva/jwt-go/issues/285 fix.
ps256SaltLengthAuto := &jwt.SigningMethodRSAPSS{
SigningMethodRSA: jwt.SigningMethodPS256.SigningMethodRSA,
Options: &rsa.PSSOptions{