From 3952b0e82fd2141c56d92ed11f25c0c27c1c9e22 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 26 Mar 2023 18:34:36 +0000 Subject: [PATCH] bn_primes: there is no need to link this statically. It can pull the primes table in directly. --- regress/lib/libcrypto/bn/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/bn/Makefile b/regress/lib/libcrypto/bn/Makefile index 71b1f7a8d24..93baac074bb 100644 --- a/regress/lib/libcrypto/bn/Makefile +++ b/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 -- 2.20.1