From bf401a2aef5a130ef21de4575f3a7c3d7a6f5e2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulf=20M=C3=B6ller?= Date: Tue, 27 Feb 2001 23:59:18 +0000 Subject: [PATCH] %f conversion bug fix Submitted by: Henrik Eriksson --- crypto/bio/b_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index 6a28c58f07..f6277426d7 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -640,7 +640,7 @@ fmtfp( (caps ? "0123456789ABCDEF" : "0123456789abcdef")[fracpart % 10]; fracpart = (fracpart / 10); - } while (fracpart && (fplace < 20)); + } while (fplace < max); if (fplace == 20) fplace--; fconvert[fplace] = 0; -- 2.25.1