From 319e411688310e5ec5acb0e140de510f60ac3f65 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 15 Nov 2025 16:30:10 +0000 Subject: bn_test: avoid last use of BN_HEX_FMT1 in libressl --- src/regress/lib/libcrypto/bn/bn_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: bn_test.c,v 1.24 2025/11/15 16:26:00 tb Exp $ */ +/* $OpenBSD: bn_test.c,v 1.25 2025/11/15 16:30:10 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -69,7 +69,9 @@ * */ +#include #include +#include #include #include @@ -474,7 +476,7 @@ test_div(BIO *bp, BN_CTX *ctx) static void print_word(BIO *bp, BN_ULONG w) { - BIO_printf(bp, BN_HEX_FMT1, w); + BIO_printf(bp, "%" PRIX64, (uint64_t)w); } int -- cgit v1.2.3-55-g6feb