From: Dr. David von Oheimb Date: Sat, 13 Mar 2021 10:29:19 +0000 (+0100) Subject: apps.c: Fix missing newline in warn_cert_msg() output X-Git-Tag: openssl-3.0.0-alpha14~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49f07be43d031f0407db8ae1b8cdf6452a79e558;p=thirdparty%2Fopenssl.git apps.c: Fix missing newline in warn_cert_msg() output Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14503) --- diff --git a/apps/lib/apps.c b/apps/lib/apps.c index f992eab053c..61b3ebc6dec 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -661,7 +661,7 @@ static void warn_cert_msg(const char *uri, X509 *cert, const char *msg) { char *subj = X509_NAME_oneline(X509_get_subject_name(cert), NULL, 0); - BIO_printf(bio_err, "Warning: certificate from '%s' with subject '%s' %s", + BIO_printf(bio_err, "Warning: certificate from '%s' with subject '%s' %s\n", uri, subj, msg); OPENSSL_free(subj); }