diff options
author | Damien Miller <djm@mindrot.org> | 2019-09-05 11:09:28 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-05 14:26:39 +1000 |
commit | f4846dfc6a79f84bbc6356ae3184f142bacedc24 (patch) | |
tree | da1324ec5f17b881d6fec177623aeccf90ea7820 /regress/misc/fuzz-harness/Makefile | |
parent | b08a6bc1cc7750c6f8a425d1cdbd86552fffc637 (diff) |
Fuzzer harness for sshsig
Diffstat (limited to 'regress/misc/fuzz-harness/Makefile')
-rw-r--r-- | regress/misc/fuzz-harness/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/misc/fuzz-harness/Makefile b/regress/misc/fuzz-harness/Makefile index a2aa4441f..6ab7d7217 100644 --- a/regress/misc/fuzz-harness/Makefile +++ b/regress/misc/fuzz-harness/Makefile | |||
@@ -7,7 +7,7 @@ CXXFLAGS=-O2 -g -Wall -Wextra -I ../../.. $(FUZZ_FLAGS) | |||
7 | LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS) | 7 | LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS) |
8 | LIBS=-lssh -lopenbsd-compat -lcrypto $(FUZZ_LIBS) | 8 | LIBS=-lssh -lopenbsd-compat -lcrypto $(FUZZ_LIBS) |
9 | 9 | ||
10 | all: pubkey_fuzz sig_fuzz authopt_fuzz | 10 | all: pubkey_fuzz sig_fuzz authopt_fuzz sshsig_fuzz |
11 | 11 | ||
12 | .cc.o: | 12 | .cc.o: |
13 | $(CXX) $(CXXFLAGS) -c $< -o $@ | 13 | $(CXX) $(CXXFLAGS) -c $< -o $@ |
@@ -21,5 +21,8 @@ sig_fuzz: sig_fuzz.o | |||
21 | authopt_fuzz: authopt_fuzz.o | 21 | authopt_fuzz: authopt_fuzz.o |
22 | $(CXX) -o $@ authopt_fuzz.o ../../../auth-options.o $(LDFLAGS) $(LIBS) | 22 | $(CXX) -o $@ authopt_fuzz.o ../../../auth-options.o $(LDFLAGS) $(LIBS) |
23 | 23 | ||
24 | sshsig_fuzz: sshsig_fuzz.o | ||
25 | $(CXX) -o $@ sshsig_fuzz.o ../../../sshsig.o $(LDFLAGS) $(LIBS) | ||
26 | |||
24 | clean: | 27 | clean: |
25 | -rm -f *.o pubkey_fuzz sig_fuzz authopt_fuzz | 28 | -rm -f *.o pubkey_fuzz sig_fuzz authopt_fuzz |