diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_lib.c')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_lib.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/lib/libcrypto/bn/bn_lib.c b/src/lib/libcrypto/bn/bn_lib.c index 74359dab37..c0c0ac876f 100644 --- a/src/lib/libcrypto/bn/bn_lib.c +++ b/src/lib/libcrypto/bn/bn_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_lib.c,v 1.89 2023/07/08 12:21:58 beck Exp $ */ | 1 | /* $OpenBSD: bn_lib.c,v 1.90 2023/07/28 10:35:14 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -655,26 +655,6 @@ BN_is_negative(const BIGNUM *a) | |||
| 655 | } | 655 | } |
| 656 | LCRYPTO_ALIAS(BN_is_negative); | 656 | LCRYPTO_ALIAS(BN_is_negative); |
| 657 | 657 | ||
| 658 | char * | ||
| 659 | BN_options(void) | ||
| 660 | { | ||
| 661 | static int init = 0; | ||
| 662 | static char data[16]; | ||
| 663 | |||
| 664 | if (!init) { | ||
| 665 | init++; | ||
| 666 | #ifdef BN_LLONG | ||
| 667 | snprintf(data,sizeof data, "bn(%d,%d)", | ||
| 668 | (int)sizeof(BN_ULLONG) * 8, (int)sizeof(BN_ULONG) * 8); | ||
| 669 | #else | ||
| 670 | snprintf(data,sizeof data, "bn(%d,%d)", | ||
| 671 | (int)sizeof(BN_ULONG) * 8, (int)sizeof(BN_ULONG) * 8); | ||
| 672 | #endif | ||
| 673 | } | ||
| 674 | return (data); | ||
| 675 | } | ||
| 676 | LCRYPTO_ALIAS(BN_options); | ||
| 677 | |||
| 678 | /* | 658 | /* |
| 679 | * Bits of security, see SP800-57, section 5.6.11, table 2. | 659 | * Bits of security, see SP800-57, section 5.6.11, table 2. |
| 680 | */ | 660 | */ |
