From b505647788ae15f0ce76d3e2351b7fba333e6bd5 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 4 Jun 2023 07:14:47 +0000 Subject: [PATCH] bn_mod_inverse tweaks Provide prototype that is hidden behind LIBRESSL_INTERNAL for portable and or in result for future extensibility. --- regress/lib/libcrypto/bn/bn_mod_inverse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regress/lib/libcrypto/bn/bn_mod_inverse.c b/regress/lib/libcrypto/bn/bn_mod_inverse.c index b73d0506691..f05e78c260f 100644 --- a/regress/lib/libcrypto/bn/bn_mod_inverse.c +++ b/regress/lib/libcrypto/bn/bn_mod_inverse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mod_inverse.c,v 1.1 2023/06/03 21:20:29 tb Exp $ */ +/* $OpenBSD: bn_mod_inverse.c,v 1.2 2023/06/04 07:14:47 tb Exp $ */ /* * Copyright (c) 2023 Theo Buehler @@ -21,6 +21,8 @@ #include +BIGNUM *BN_mod_inverse(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); + static const struct mod_inv_test { const char *i; const char *a; @@ -379,7 +381,7 @@ main(void) { int failed = 0; - failed = test_bn_mod_inverse(); + failed |= test_bn_mod_inverse(); return failed; } -- 2.20.1