mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
crypto/signify: fix fuzz test compilation
This commit is contained in:
parent
16f50285b7
commit
71bbfc2da2
1 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ func Fuzz(data []byte) int {
|
|||
fmt.Printf("untrusted: %v\n", untrustedComment)
|
||||
fmt.Printf("trusted: %v\n", trustedComment)
|
||||
|
||||
err = SignifySignFile(tmpFile.Name(), tmpFile.Name()+".sig", testSecKey, untrustedComment, trustedComment)
|
||||
err = SignFile(tmpFile.Name(), tmpFile.Name()+".sig", testSecKey, untrustedComment, trustedComment)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
@ -68,7 +68,7 @@ func Fuzz(data []byte) int {
|
|||
signify = path
|
||||
}
|
||||
|
||||
_, err := exec.LookPath(signify)
|
||||
_, err = exec.LookPath(signify)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue