Clear warnings/errors within BN_CTX_DEBUG code sections
Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit 553affbef7bb5dd313514e06dab5cd9b1de1835f)
This commit is contained in:
parent
dc1e493808
commit
2164a17a7d
@ -158,7 +158,7 @@ static void ctxdbg(BN_CTX *ctx)
|
|||||||
unsigned int bnidx = 0, fpidx = 0;
|
unsigned int bnidx = 0, fpidx = 0;
|
||||||
BN_POOL_ITEM *item = ctx->pool.head;
|
BN_POOL_ITEM *item = ctx->pool.head;
|
||||||
BN_STACK *stack = &ctx->stack;
|
BN_STACK *stack = &ctx->stack;
|
||||||
fprintf(stderr,"(%08x): ", (unsigned int)ctx);
|
fprintf(stderr,"(%16p): ", ctx);
|
||||||
while(bnidx < ctx->used)
|
while(bnidx < ctx->used)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax);
|
fprintf(stderr,"%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user