summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_print.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-27 00:00:56 +0000
committerUlf Möller <ulf@openssl.org>2000-02-27 00:00:56 +0000
commit1070e0e2eeae712bc864b8f1506c91406488ea31 (patch)
tree9d840cde2a1d4dee0a63ea431959c6e284bfe006 /crypto/bn/bn_print.c
parent1b199605c430db74874b31a8188023d89ddbe787 (diff)
*** empty log message ***
Diffstat (limited to 'crypto/bn/bn_print.c')
-rw-r--r--crypto/bn/bn_print.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/bn/bn_print.c b/crypto/bn/bn_print.c
index 131aad2e66..2db550d47b 100644
--- a/crypto/bn/bn_print.c
+++ b/crypto/bn/bn_print.c
@@ -325,10 +325,8 @@ void bn_dump1(FILE *o, const char *a, BN_ULONG *b,int n)
{
int i;
fprintf(o, "%s=", a);
- for (i=n;i>=0;i--)
- {
- fprintf(o, "[%08lX]", b[i]);
- }
+ for (i=n-1;i>=0;i--)
+ fprintf(o, "%08lX", b[i]);
fprintf(o, "\n");
}
#endif