mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
sm9: add example test, fix unexpected line
This commit is contained in:
parent
d22b2253f3
commit
5bfdfeb9b5
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user