From: Richard Levitte Date: Tue, 16 Dec 2014 00:38:39 +0000 (+0100) Subject: Clear warnings/errors within BN_CTX_DEBUG code sections X-Git-Tag: OpenSSL_1_0_1k~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2164a17a7d85ab7953a18b1e50bc7d1e3c814b4e;p=oweals%2Fopenssl.git Clear warnings/errors within BN_CTX_DEBUG code sections Reviewed-by: Andy Polyakov (cherry picked from commit 553affbef7bb5dd313514e06dab5cd9b1de1835f) --- diff --git a/crypto/bn/bn_ctx.c b/crypto/bn/bn_ctx.c index 3f2256f675..90aa3aeb9f 100644 --- a/crypto/bn/bn_ctx.c +++ b/crypto/bn/bn_ctx.c @@ -158,7 +158,7 @@ static void ctxdbg(BN_CTX *ctx) unsigned int bnidx = 0, fpidx = 0; BN_POOL_ITEM *item = ctx->pool.head; BN_STACK *stack = &ctx->stack; - fprintf(stderr,"(%08x): ", (unsigned int)ctx); + fprintf(stderr,"(%16p): ", ctx); while(bnidx < ctx->used) { fprintf(stderr,"%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax);