From 8b68b7e97bea1bb19ae5ad9afc7fdb5547bd4fc7 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 19 Apr 2015 14:34:05 +0100 Subject: [PATCH] Use BN_ULONG format. Reviewed-by: Andy Polyakov --- test/bntest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bntest.c b/test/bntest.c index 7aaefc58e5..1ce6db18f3 100644 --- a/test/bntest.c +++ b/test/bntest.c @@ -1799,8 +1799,8 @@ int test_probable_prime_coprime(BIO *bp, BN_CTX *ctx) for (j = 0; j < 5; j++) { if (BN_mod_word(r, primes[j]) == 0) { - BIO_printf(bp, "Number generated is not coprime to %ld:\n", - primes[j]); + BIO_printf(bp, "Number generated is not coprime to " + BN_DEC_FMT1 ":\n", primes[j]); BN_print_fp(stdout, r); BIO_printf(bp, "\n"); goto err; -- 2.25.1