From: Ben Laurie Date: Sun, 19 Apr 2015 13:34:05 +0000 (+0100) Subject: Use BN_ULONG format. X-Git-Tag: OpenSSL_1_1_0-pre1~1225 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8b68b7e97bea1bb19ae5ad9afc7fdb5547bd4fc7;p=oweals%2Fopenssl.git Use BN_ULONG format. Reviewed-by: Andy Polyakov --- 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;