From 01d55347b4da0174763012c9a5c5c0d537840a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Larivi=C3=A8re?= Date: Sun, 26 Jun 2022 01:43:13 -0400 Subject: [PATCH] Fix typo in curve bits 512 vs 521 --- ecdsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecdsa.go b/ecdsa.go index eac023f..cd1f209 100644 --- a/ecdsa.go +++ b/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 })