Fix some issues in b_print.c code
authorMatt Caswell <matt@openssl.org>
Wed, 25 May 2016 14:37:11 +0000 (15:37 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 27 May 2016 09:23:18 +0000 (10:23 +0100)
commit242073bdbc0bcca8fa7d193f9dc43c53a482c829
tree6fb287dd605c70382af3e74b184d4db5671ae85e
parent5e0dc5c9992ad53d12b07eb5d12a0e23dd5be670
Fix some issues in b_print.c code

Convert assert to OPENSSL_assert(), add some documentation, add the calls
to fmtfp() for the "e" and "g" floating point formats which were missing.

Based on a patch provided by Ger Hobbelt <ger@hobbelt.com>.

RT#2270

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