diff options
Diffstat (limited to 'src/regress')
-rw-r--r-- | src/regress/lib/libcrypto/bn/general/Makefile | 3 | ||||
-rw-r--r-- | src/regress/lib/libcrypto/bn/general/bn_primes.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/general/Makefile b/src/regress/lib/libcrypto/bn/general/Makefile index ab642e0769..b9282a1126 100644 --- a/src/regress/lib/libcrypto/bn/general/Makefile +++ b/src/regress/lib/libcrypto/bn/general/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.14 2022/07/25 20:48:57 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.15 2022/11/09 23:28:08 tb Exp $ |
2 | 2 | ||
3 | .include "../../Makefile.inc" | 3 | .include "../../Makefile.inc" |
4 | 4 | ||
@@ -34,6 +34,7 @@ REGRESS_TARGETS += run-bn_mod_sqrt | |||
34 | run-bn_mod_sqrt: bn_mod_sqrt | 34 | run-bn_mod_sqrt: bn_mod_sqrt |
35 | ./bn_mod_sqrt | 35 | ./bn_mod_sqrt |
36 | 36 | ||
37 | LDADD_bn_primes = ${CRYPTO_INT} | ||
37 | REGRESS_TARGETS += run-bn_primes | 38 | REGRESS_TARGETS += run-bn_primes |
38 | run-bn_primes: bn_primes | 39 | run-bn_primes: bn_primes |
39 | ./bn_primes | 40 | ./bn_primes |
diff --git a/src/regress/lib/libcrypto/bn/general/bn_primes.c b/src/regress/lib/libcrypto/bn/general/bn_primes.c index f9d358f709..c61cdb34b8 100644 --- a/src/regress/lib/libcrypto/bn/general/bn_primes.c +++ b/src/regress/lib/libcrypto/bn/general/bn_primes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_primes.c,v 1.1 2022/06/18 19:53:19 tb Exp $ */ | 1 | /* $OpenBSD: bn_primes.c,v 1.2 2022/11/09 23:28:08 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -24,7 +24,7 @@ test_bn_is_prime_fasttest(int do_trial_division) | |||
24 | { | 24 | { |
25 | BIGNUM *n = NULL; | 25 | BIGNUM *n = NULL; |
26 | char *descr = NULL; | 26 | char *descr = NULL; |
27 | prime_t i, j, max; | 27 | uint16_t i, j, max; |
28 | int is_prime, ret; | 28 | int is_prime, ret; |
29 | int failed = 1; | 29 | int failed = 1; |
30 | 30 | ||