diff options
| author | tb <> | 2025-12-05 14:12:32 +0000 |
|---|---|---|
| committer | tb <> | 2025-12-05 14:12:32 +0000 |
| commit | f3f05f0cf8c30a990193e332e26fdd8e54b3f59b (patch) | |
| tree | 47450b6c993423a79d52c43b0bd9849c40035aa1 /src/lib/libcrypto/bn/bn_internal.h | |
| parent | d604767b3782a7a003bea4677652538af9e3bd8e (diff) | |
| download | openbsd-f3f05f0cf8c30a990193e332e26fdd8e54b3f59b.tar.gz openbsd-f3f05f0cf8c30a990193e332e26fdd8e54b3f59b.tar.bz2 openbsd-f3f05f0cf8c30a990193e332e26fdd8e54b3f59b.zip | |
libcrypto: make most of the BN_* macro pollution internal
This is a first sweep of reducing the number of terribly named macros
in bn.h More can go away. Those we need internally go to bn_local.h.
Annoyingly bn_internal.h uses some of them, so it includes bn_local.h
now. This can be cleaned up later.
ok jsing kenjiro
Diffstat (limited to 'src/lib/libcrypto/bn/bn_internal.h')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn_internal.h b/src/lib/libcrypto/bn/bn_internal.h index 8b5145e225..efe8202aa0 100644 --- a/src/lib/libcrypto/bn/bn_internal.h +++ b/src/lib/libcrypto/bn/bn_internal.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_internal.h,v 1.20 2025/08/02 16:20:00 jsing Exp $ */ | 1 | /* $OpenBSD: bn_internal.h,v 1.21 2025/12/05 14:12:32 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
| 19 | 19 | ||
| 20 | #include "bn_arch.h" | 20 | #include "bn_arch.h" |
| 21 | #include "bn_local.h" | ||
| 21 | 22 | ||
| 22 | #ifndef HEADER_BN_INTERNAL_H | 23 | #ifndef HEADER_BN_INTERNAL_H |
| 23 | #define HEADER_BN_INTERNAL_H | 24 | #define HEADER_BN_INTERNAL_H |
