Fix implementation of "e" and "g" formats for printing floating points
authorMatt Caswell <matt@openssl.org>
Wed, 25 May 2016 14:33:15 +0000 (15:33 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 27 May 2016 09:23:18 +0000 (10:23 +0100)
commitd6056f085dc0d53663433d98eb105cb5f26624e7
tree069feff8b5d7d4891eb679985ed6ee815d15a8f3
parent242073bdbc0bcca8fa7d193f9dc43c53a482c829
Fix implementation of "e" and "g" formats for printing floating points

The previous commit which "fixed" the "e" and "g" floating point formats
just printed them in the same way as "f". This is wrong. This commit
provides the correct formatting.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bio/b_print.c