sm9: add example test, fix unexpected line

This commit is contained in:
Sun Yimin 2023-02-03 15:25:40 +08:00 committed by GitHub
parent d22b2253f3
commit 5bfdfeb9b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,6 @@ func ExampleSignPrivateKey_Sign() {
// Since sign is a randomized function, signature will be // Since sign is a randomized function, signature will be
// different each time. // different each time.
fmt.Printf("%x\n", sig) fmt.Printf("%x\n", sig)
// Output: true
} }
func ExampleVerifyASN1() { func ExampleVerifyASN1() {