Skip to content

Commit b871b11

Browse files
committed
fix fuzz test compilation
1 parent 8cbfc82 commit b871b11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crypto/signify/signify_fuzz.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func Fuzz(data []byte) int {
5656
fmt.Printf("untrusted: %v\n", untrustedComment)
5757
fmt.Printf("trusted: %v\n", trustedComment)
5858

59-
err = SignifySignFile(tmpFile.Name(), tmpFile.Name()+".sig", testSecKey, untrustedComment, trustedComment)
59+
err = SignFile(tmpFile.Name(), tmpFile.Name()+".sig", testSecKey, untrustedComment, trustedComment)
6060
if err != nil {
6161
panic(err)
6262
}
@@ -68,7 +68,7 @@ func Fuzz(data []byte) int {
6868
signify = path
6969
}
7070

71-
_, err := exec.LookPath(signify)
71+
_, err = exec.LookPath(signify)
7272
if err != nil {
7373
panic(err)
7474
}

0 commit comments

Comments
 (0)