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_to_string.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_to_string.c')
-rw-r--r-- | src/regress/lib/libcrypto/bn/bn_to_string.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_to_string.c b/src/regress/lib/libcrypto/bn/bn_to_string.c index ca5ca2f08d..2275f98de9 100644 --- a/src/regress/lib/libcrypto/bn/bn_to_string.c +++ b/src/regress/lib/libcrypto/bn/bn_to_string.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_to_string.c,v 1.1 2022/12/01 20:50:10 tb Exp $ */ | 1 | /* $OpenBSD: bn_to_string.c,v 1.2 2022/12/06 18:23:29 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | #include <err.h> | 18 | #include <err.h> |
19 | #include <stdio.h> | 19 | #include <stdio.h> |
20 | #include <stdlib.h> | ||
20 | #include <string.h> | 21 | #include <string.h> |
21 | 22 | ||
22 | #include <openssl/bn.h> | 23 | #include <openssl/bn.h> |