diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/bn/bn_bits.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_bits.c b/src/regress/lib/libcrypto/bn/bn_bits.c index 4ed13e424b..e93fabfdd5 100644 --- a/src/regress/lib/libcrypto/bn/bn_bits.c +++ b/src/regress/lib/libcrypto/bn/bn_bits.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_bits.c,v 1.1 2024/04/09 14:59:57 jsing Exp $ */ | 1 | /* $OpenBSD: bn_bits.c,v 1.2 2024/04/15 14:36:16 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -111,12 +111,10 @@ test_bn_clear_bit(void) | |||
| 111 | fprintf(stderr, "FAIL: clear bit did not result in zero\n"); | 111 | fprintf(stderr, "FAIL: clear bit did not result in zero\n"); |
| 112 | goto failure; | 112 | goto failure; |
| 113 | } | 113 | } |
| 114 | #if 0 | ||
| 115 | if (BN_is_negative(bn)) { | 114 | if (BN_is_negative(bn)) { |
| 116 | fprintf(stderr, "FAIL: clear bit resulted in -0\n"); | 115 | fprintf(stderr, "FAIL: clear bit resulted in -0\n"); |
| 117 | goto failure; | 116 | goto failure; |
| 118 | } | 117 | } |
| 119 | #endif | ||
| 120 | 118 | ||
| 121 | failed = 0; | 119 | failed = 0; |
| 122 | 120 | ||
| @@ -198,12 +196,10 @@ test_bn_mask_bits(void) | |||
| 198 | fprintf(stderr, "FAIL: mask bits did not result in zero\n"); | 196 | fprintf(stderr, "FAIL: mask bits did not result in zero\n"); |
| 199 | goto failure; | 197 | goto failure; |
| 200 | } | 198 | } |
| 201 | #if 0 | ||
| 202 | if (BN_is_negative(bn)) { | 199 | if (BN_is_negative(bn)) { |
| 203 | fprintf(stderr, "FAIL: mask bits resulted in -0\n"); | 200 | fprintf(stderr, "FAIL: mask bits resulted in -0\n"); |
| 204 | goto failure; | 201 | goto failure; |
| 205 | } | 202 | } |
| 206 | #endif | ||
| 207 | 203 | ||
| 208 | failed = 0; | 204 | failed = 0; |
| 209 | 205 | ||
