diff options
| author | tb <> | 2025-12-05 17:25:55 +0000 |
|---|---|---|
| committer | tb <> | 2025-12-05 17:25:55 +0000 |
| commit | d2d87522f440af6431264cc158cc728d8c655bfb (patch) | |
| tree | 1b3e414d70da44a3e9198f9968dd129b8f06e9d3 /src | |
| parent | b96e42ebc855e5500ce29c61a738698010dbc5f0 (diff) | |
| download | openbsd-d2d87522f440af6431264cc158cc728d8c655bfb.tar.gz openbsd-d2d87522f440af6431264cc158cc728d8c655bfb.tar.bz2 openbsd-d2d87522f440af6431264cc158cc728d8c655bfb.zip | |
libcrypto: remove BN_{DEC,HEX}_FMT1
It appears that these were only ever used in bn_test.c...
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/bn/bn.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index 1ee1f1f1f8..3f9e24a868 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn.h,v 1.84 2025/12/05 14:12:32 tb Exp $ */ | 1 | /* $OpenBSD: bn.h,v 1.85 2025/12/05 17:25:55 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -145,16 +145,12 @@ extern "C" { | |||
| 145 | #define BN_ULONG uint64_t | 145 | #define BN_ULONG uint64_t |
| 146 | #define BN_BYTES 8 | 146 | #define BN_BYTES 8 |
| 147 | #define BN_BITS2 64 | 147 | #define BN_BITS2 64 |
| 148 | #define BN_DEC_FMT1 "%" PRIu64 | ||
| 149 | #define BN_HEX_FMT1 "%" PRIX64 | ||
| 150 | #else | 148 | #else |
| 151 | #define BN_ULLONG uint64_t | 149 | #define BN_ULLONG uint64_t |
| 152 | #define BN_LLONG | 150 | #define BN_LLONG |
| 153 | #define BN_ULONG uint32_t | 151 | #define BN_ULONG uint32_t |
| 154 | #define BN_BYTES 4 | 152 | #define BN_BYTES 4 |
| 155 | #define BN_BITS2 32 | 153 | #define BN_BITS2 32 |
| 156 | #define BN_DEC_FMT1 "%" PRIu32 | ||
| 157 | #define BN_HEX_FMT1 "%" PRIX32 | ||
| 158 | #endif | 154 | #endif |
| 159 | 155 | ||
| 160 | #define BN_FLG_MALLOCED 0x01 | 156 | #define BN_FLG_MALLOCED 0x01 |
