From 95750a6de606505162ce4f3fcc3d026deadd1fb0 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 26 Mar 2023 18:34:36 +0000 Subject: bn_primes: there is no need to link this statically. It can pull the primes table in directly. --- src/regress/lib/libcrypto/bn/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/regress') diff --git a/src/regress/lib/libcrypto/bn/Makefile b/src/regress/lib/libcrypto/bn/Makefile index 71b1f7a8d2..93baac074b 100644 --- a/src/regress/lib/libcrypto/bn/Makefile +++ b/src/regress/lib/libcrypto/bn/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2023/03/18 09:09:11 tb Exp $ +# $OpenBSD: Makefile,v 1.25 2023/03/26 18:34:36 tb Exp $ PROGS += bn_add_sub PROGS += bn_cmp @@ -18,7 +18,6 @@ PROGS += bn_word STATIC_LINK += bn_isqrt STATIC_LINK += bn_mod_exp -STATIC_LINK += bn_primes STATIC_LINK += bn_rand_interval STATIC_LINK += bn_test STATIC_LINK += bn_to_string @@ -70,4 +69,8 @@ benchmark: bn_mul_div bn_shift LDADD_$p += ${CRYPTO_INT} .endfor +SRCS_bn_primes = bn_primes.c bn_small_primes.c + +.PATH: ${.CURDIR}/../../../../lib/libcrypto/bn + .include -- cgit v1.2.3-55-g6feb