From 1070e0e2eeae712bc864b8f1506c91406488ea31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Sun, 27 Feb 2000 00:00:56 +0000 Subject: *** empty log message *** --- crypto/bn/Makefile.ssl | 2 +- crypto/bn/bn_print.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'crypto/bn') diff --git a/crypto/bn/Makefile.ssl b/crypto/bn/Makefile.ssl index 07239ee8c1..11dd86f8bb 100644 --- a/crypto/bn/Makefile.ssl +++ b/crypto/bn/Makefile.ssl @@ -62,7 +62,7 @@ bn_prime.h: bn_prime.pl divtest: divtest.c ../../libcrypto.a cc -I../../include divtest.c -o divtest ../../libcrypto.a -bnbug: bnbug.c ../../libcrypto.a +bnbug: bnbug.c ../../libcrypto.a top cc -g -I../../include bnbug.c -o bnbug ../../libcrypto.a lib: $(LIBOBJ) 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 -- cgit v1.2.3