mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
apps: remove initial newline from mac output
Fixes #13247 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15189)
This commit is contained in:
parent
a1230dea4d
commit
68f3fb0514
@ -181,8 +181,6 @@ opthelp:
|
||||
if (out_bin) {
|
||||
BIO_write(out, buf, len);
|
||||
} else {
|
||||
if (outfile == NULL)
|
||||
BIO_printf(out,"\n");
|
||||
for (i = 0; i < (int)len; ++i)
|
||||
BIO_printf(out, "%02X", buf[i]);
|
||||
if (outfile == NULL)
|
||||
|
@ -137,10 +137,10 @@ sub compareline {
|
||||
# Not unlinking $tmpfile
|
||||
|
||||
if (defined($expect)) {
|
||||
if ($lines[1] =~ m|^\Q${expect}\E\R$|) {
|
||||
if ($lines[0] =~ m|^\Q${expect}\E\R$|) {
|
||||
return 1;
|
||||
} else {
|
||||
print "Got: $lines[1]";
|
||||
print "Got: $lines[0]";
|
||||
print "Exp: $expect\n";
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user