Skip to content

Commit

Permalink
[fix] add missing liboprf to tests/opaque-tv1 as link dependency in m…
Browse files Browse the repository at this point in the history
…akefile
  • Loading branch information
stef committed Sep 7, 2024
1 parent 38eb7f4 commit 0c5b917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ oprf-v.o: $(OPRFHOME)/oprf.c
$(CC) -I. $(CFLAGS) -DCFRG_TEST_VEC -o $@ -c $<

tests/opaque-tv1$(EXT): tests/opaque-testvectors.c common-v.o oprf-v.o opaque-tv1.o
$(CC) $(CFLAGS) -DCFRG_TEST_VEC -o $@ $^ $(EXTRA_OBJECTS) -lsodium -g
$(CC) $(CFLAGS) -DCFRG_TEST_VEC -o $@ $^ $(EXTRA_OBJECTS) -lsodium -loprf -g

test: tests
test -x ./tests/opaque-tv1$(EXT) && ./tests/opaque-tv1$(EXT) || true
Expand Down

0 comments on commit 0c5b917

Please sign in to comment.