diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_lib.c')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_lib.c b/src/lib/libcrypto/bn/bn_lib.c index 3e451a6191..0326e72c4d 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.94 2025/05/10 05:54:38 tb Exp $ */ | 1 | /* $OpenBSD: bn_lib.c,v 1.95 2025/12/15 12:09:46 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 | * |
| @@ -349,7 +349,7 @@ BN_ULONG | |||
| 349 | BN_get_word(const BIGNUM *a) | 349 | BN_get_word(const BIGNUM *a) |
| 350 | { | 350 | { |
| 351 | if (a->top > 1) | 351 | if (a->top > 1) |
| 352 | return BN_MASK2; | 352 | return (BN_ULONG)-1; |
| 353 | else if (a->top == 1) | 353 | else if (a->top == 1) |
| 354 | return a->d[0]; | 354 | return a->d[0]; |
| 355 | /* a->top == 0 */ | 355 | /* a->top == 0 */ |
