From 39f36ddb6005992444d86ae13ee91a73fcbc6c53 Mon Sep 17 00:00:00 2001 From: emmansun Date: Sun, 13 Feb 2022 16:05:44 +0800 Subject: [PATCH] fix #30 --- sm2/sm2_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm2/sm2_test.go b/sm2/sm2_test.go index 6ea1b2e..e0f0666 100644 --- a/sm2/sm2_test.go +++ b/sm2/sm2_test.go @@ -401,7 +401,7 @@ func BenchmarkVerify_P256(b *testing.B) { b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { - if !Verify(&priv.PublicKey, hashed, r, s) { + if !ecdsa.Verify(&priv.PublicKey, hashed, r, s) { b.Fatal("verify failed") } }