Clear warnings/errors within BN_CTX_DEBUG code sections
authorRichard Levitte <levitte@openssl.org>
Tue, 16 Dec 2014 00:38:39 +0000 (01:38 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 17 Dec 2014 09:15:09 +0000 (10:15 +0100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/bn/bn_ctx.c

index 9fe8751..d5eb022 100644 (file)
@@ -159,7 +159,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);