diff options
author | tb <> | 2022-12-06 18:23:29 +0000 |
---|---|---|
committer | tb <> | 2022-12-06 18:23:29 +0000 |
commit | 25379fab64d0e4e97e49ce782d1f7239af8a6192 (patch) | |
tree | 3d7a75b4695a187d73d96688171cae5e85928f1f /src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | |
parent | 63e1e004d5a60eea51f7c1fcc42d54aca4f605b9 (diff) | |
download | openbsd-25379fab64d0e4e97e49ce782d1f7239af8a6192.tar.gz openbsd-25379fab64d0e4e97e49ce782d1f7239af8a6192.tar.bz2 openbsd-25379fab64d0e4e97e49ce782d1f7239af8a6192.zip |
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.
Diffstat (limited to 'src/regress/lib/libcrypto/bn/bn_mod_sqrt.c')
-rw-r--r-- | src/regress/lib/libcrypto/bn/bn_mod_sqrt.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: bn_mod_sqrt.c,v 1.1 2022/12/01 20:50:10 tb Exp $ */ | 1 | /* $OpenBSD: bn_mod_sqrt.c,v 1.2 2022/12/06 18:23:29 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -15,6 +15,8 @@ | |||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include <stdio.h> | ||
19 | |||
18 | #include <openssl/bn.h> | 20 | #include <openssl/bn.h> |
19 | 21 | ||
20 | /* Test that sqrt * sqrt = A (mod p) where p is a prime */ | 22 | /* Test that sqrt * sqrt = A (mod p) where p is a prime */ |