From 25379fab64d0e4e97e49ce782d1f7239af8a6192 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 6 Dec 2022 18:23:29 +0000 Subject: Add a few missing headers and drop a few unused ones In bn_test.c include bn_local.h instead of using copy-pasted prototypes. --- src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/regress/lib/libcrypto/bn/bn_mod_sqrt.c') diff --git a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c index e193755b74..7757c2a1ca 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c +++ b/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mod_sqrt.c,v 1.1 2022/12/01 20:50:10 tb Exp $ */ +/* $OpenBSD: bn_mod_sqrt.c,v 1.2 2022/12/06 18:23:29 tb Exp $ */ /* * Copyright (c) 2022 Theo Buehler * @@ -15,6 +15,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + #include /* Test that sqrt * sqrt = A (mod p) where p is a prime */ -- cgit v1.2.3-55-g6feb