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);