summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2009-02-02 00:40:59 +0000
committerBodo Möller <bodo@openssl.org>2009-02-02 00:40:59 +0000
commit6ed534782ff764c0b2482b6426203d4d3236e9ae (patch)
treef75154066fc740ecc4fd3e523e66ad14cba77461 /apps
parent1ee27238f7cdb935d38d21c925d1950b43d899fd (diff)
For -hex, print just one \n
Diffstat (limited to 'apps')
-rw-r--r--apps/rand.c2
1 files changed, 2 insertions, 0 deletions
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);