summaryrefslogtreecommitdiffstats
path: root/crypto/bio
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2001-02-27 23:59:18 +0000
committerUlf Möller <ulf@openssl.org>2001-02-27 23:59:18 +0000
commitbf401a2aef5a130ef21de4575f3a7c3d7a6f5e2a (patch)
tree51f782e5f21d66d270d443036021f9d03fb935b0 /crypto/bio
parent06a2b07bb07d4dad4f00358f4723bbe277e03dc7 (diff)
%f conversion bug fix
Submitted by: Henrik Eriksson <henrik.eriksson@axis.com>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/b_print.c2
1 files changed, 1 insertions, 1 deletions
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;