diff --git a/tests/fuzzing/dpp-uri/Makefile b/tests/fuzzing/dpp-uri/Makefile index 27b2fddb3..10c4ea2f4 100644 --- a/tests/fuzzing/dpp-uri/Makefile +++ b/tests/fuzzing/dpp-uri/Makefile @@ -13,7 +13,6 @@ LIBS += $(SRC)/common/libcommon.a LIBS += $(SRC)/utils/libutils.a OBJS += $(SRC)/crypto/crypto_openssl.o -LIBS += -lcrypto OBJS += $(SRC)/crypto/aes-ctr.o OBJS += $(SRC)/crypto/aes-siv.o @@ -24,7 +23,7 @@ OBJS += $(SRC)/tls/asn1.o OBJS += $(SRC)/common/dpp.o dpp-uri: dpp-uri.o $(OBJS) $(LIBS) - $(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) + $(LDO) $(LDFLAGS) -o $@ $^ -lcrypto clean: $(MAKE) -C $(SRC) clean diff --git a/tests/fuzzing/sae/Makefile b/tests/fuzzing/sae/Makefile index 0a56e0628..5b86c2f43 100644 --- a/tests/fuzzing/sae/Makefile +++ b/tests/fuzzing/sae/Makefile @@ -8,14 +8,13 @@ LIBS += $(SRC)/common/libcommon.a LIBS += $(SRC)/utils/libutils.a OBJS += $(SRC)/crypto/crypto_openssl.o -LIBS += -lcrypto OBJS += $(SRC)/crypto/dh_groups.o OBJS += $(SRC)/crypto/sha256-prf.o OBJS += $(SRC)/crypto/sha256-kdf.o OBJS += $(SRC)/common/dragonfly.o sae: sae.o $(OBJS) $(LIBS) - $(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) + $(LDO) $(LDFLAGS) -o $@ $^ -lcrypto clean: $(MAKE) -C $(SRC) clean