Skip to content

Commit

Permalink
rebased fuzzer on build-signify branch
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Nov 23, 2020
1 parent a0e1a9c commit 5304fc0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crypto/signify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ func TestSignify(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer os.Remove(tmpFile.Nat.Fatalf(resent, check the signature.
defer os.Remove(tmpFile.Name() + ".sig")

// if signify-openbsd is present, check the signature.
// signify-openbsd will be present in CI.
if runtime.GOOS == "linux" {
cmd := exec.Command("which", "signify-openbsd")
Expand Down Expand Up @@ -201,7 +203,7 @@ func TestSignifyTrustedCommentEmpty(t *testing.T) {
}

func TestFuzz(t *testing.T) {
b := []byte("00000000074Q00000000" +
"000000000000")
b := []byte("5ac635d8aa0]00000000" +
"0000000000000")
Fuzz(b)
}

0 comments on commit 5304fc0

Please sign in to comment.