From 6ed534782ff764c0b2482b6426203d4d3236e9ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 2 Feb 2009 00:40:59 +0000 Subject: [PATCH] For -hex, print just one \n --- apps/rand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/rand.c b/apps/rand.c index 7214a9d2a8..2243015a75 100644 --- a/apps/rand.c +++ b/apps/rand.c @@ -233,6 +233,8 @@ int MAIN(int argc, char **argv) } num -= chunk; } + if (hex) + BIO_puts(out, "\n"); (void)BIO_flush(out); app_RAND_write_file(NULL, bio_err); -- 2.25.1