summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libcrypto/bn/bn_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_test.c b/src/regress/lib/libcrypto/bn/bn_test.c
index de3fb7cd00..b32b9e81e2 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.24 2025/11/15 16:26:00 tb Exp $ */ 1/* $OpenBSD: bn_test.c,v 1.25 2025/11/15 16:30:10 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 *
@@ -69,7 +69,9 @@
69 * 69 *
70 */ 70 */
71 71
72#include <inttypes.h>
72#include <stdio.h> 73#include <stdio.h>
74#include <stdint.h>
73#include <stdlib.h> 75#include <stdlib.h>
74#include <string.h> 76#include <string.h>
75 77
@@ -474,7 +476,7 @@ test_div(BIO *bp, BN_CTX *ctx)
474static void 476static void
475print_word(BIO *bp, BN_ULONG w) 477print_word(BIO *bp, BN_ULONG w)
476{ 478{
477 BIO_printf(bp, BN_HEX_FMT1, w); 479 BIO_printf(bp, "%" PRIX64, (uint64_t)w);
478} 480}
479 481
480int 482int