summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/bn/bn_test.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_test.c b/src/regress/lib/libcrypto/bn/bn_test.c
index 5348788f50..de3fb7cd00 100644
--- a/src/regress/lib/libcrypto/bn/bn_test.c
+++ b/src/regress/lib/libcrypto/bn/bn_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_test.c,v 1.23 2025/02/12 21:22:15 tb Exp $ */ 1/* $OpenBSD: bn_test.c,v 1.24 2025/11/15 16:26:00 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 *
@@ -474,17 +474,6 @@ test_div(BIO *bp, BN_CTX *ctx)
474static void 474static void
475print_word(BIO *bp, BN_ULONG w) 475print_word(BIO *bp, BN_ULONG w)
476{ 476{
477#ifdef SIXTY_FOUR_BIT
478 if (sizeof(w) > sizeof(unsigned long)) {
479 unsigned long h = (unsigned long)(w >> 32), l = (unsigned long)(w);
480
481 if (h)
482 BIO_printf(bp, "%lX%08lX", h, l);
483 else
484 BIO_printf(bp, "%lX", l);
485 return;
486 }
487#endif
488 BIO_printf(bp, BN_HEX_FMT1, w); 477 BIO_printf(bp, BN_HEX_FMT1, w);
489} 478}
490 479