mirror of https://github.com/golang-jwt/jwt.git
Fix typo in curve bits 512 vs 521
This commit is contained in:
parent
9294af54b5
commit
01d55347b4
2
ecdsa.go
2
ecdsa.go
|
@ -43,7 +43,7 @@ func init() {
|
|||
})
|
||||
|
||||
// ES512
|
||||
SigningMethodES512 = &SigningMethodECDSA{"ES512", crypto.SHA512, 66, 521}
|
||||
SigningMethodES512 = &SigningMethodECDSA{"ES512", crypto.SHA512, 66, 512}
|
||||
RegisterSigningMethod(SigningMethodES512.Alg(), func() SigningMethod {
|
||||
return SigningMethodES512
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue