From: tb Date: Sun, 26 Mar 2023 18:34:36 +0000 (+0000) Subject: bn_primes: there is no need to link this statically. It can pull the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3952b0e82fd2141c56d92ed11f25c0c27c1c9e22;p=openbsd bn_primes: there is no need to link this statically. It can pull the primes table in directly. --- 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