Commit d615bceb authored by Bodo Möller's avatar Bodo Möller
Browse files

For -hex, print just one \n

parent 7ca1cfba
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);