diff options
author | Ben Laurie <ben@openssl.org> | 2009-06-14 10:23:29 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2009-06-14 10:23:29 +0000 |
commit | 7de819237d164248ae4536009fbbdbfda47eff23 (patch) | |
tree | 3bc792a2540e7fcaa9039c3c20be241192188f8a /crypto/bn | |
parent | 6cfab29b71eff068d0c4d2d704cbf2dbc427822b (diff) |
Two digits is not wide enough.
Diffstat (limited to 'crypto/bn')
-rw-r--r-- | crypto/bn/bn_ctx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/bn_ctx.c b/crypto/bn/bn_ctx.c index b3452f1a91..3f2256f675 100644 --- a/crypto/bn/bn_ctx.c +++ b/crypto/bn/bn_ctx.c @@ -161,7 +161,7 @@ static void ctxdbg(BN_CTX *ctx) fprintf(stderr,"(%08x): ", (unsigned int)ctx); while(bnidx < ctx->used) { - fprintf(stderr,"%02x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); + fprintf(stderr,"%03x ", item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax); if(!(bnidx % BN_CTX_POOL_SIZE)) item = item->next; } @@ -171,8 +171,8 @@ static void ctxdbg(BN_CTX *ctx) while(fpidx < stack->depth) { while(bnidx++ < stack->indexes[fpidx]) - fprintf(stderr," "); - fprintf(stderr,"^^ "); + fprintf(stderr," "); + fprintf(stderr,"^^^ "); bnidx++; fpidx++; } |