Fix typo in curve bits 512 vs 521

This commit is contained in:
Éric Larivière 2022-06-26 01:43:13 -04:00 committed by GitHub
parent 9294af54b5
commit 01d55347b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func init() {
}) })
// ES512 // ES512
SigningMethodES512 = &SigningMethodECDSA{"ES512", crypto.SHA512, 66, 521} SigningMethodES512 = &SigningMethodECDSA{"ES512", crypto.SHA512, 66, 512}
RegisterSigningMethod(SigningMethodES512.Alg(), func() SigningMethod { RegisterSigningMethod(SigningMethodES512.Alg(), func() SigningMethod {
return SigningMethodES512 return SigningMethodES512
}) })