For -hex, print just one \n

This commit is contained in:
Bodo Möller 2009-02-02 00:40:29 +00:00
parent 7ca1cfbac3
commit d615bceb2d

View file

@ -229,10 +229,11 @@ int MAIN(int argc, char **argv)
{
for (i = 0; i < chunk; i++)
BIO_printf(out, "%02x", buf[i]);
BIO_puts(out, "\n");
}
num -= chunk;
}
if (hex)
BIO_puts(out, "\n");
(void)BIO_flush(out);
app_RAND_write_file(NULL, bio_err);