X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fsmime.c;h=482bd18e4385788b61a3dd4bddbbc77437bae5d0;hp=90fe026f567781d86445d240c0e3be6e63eebe4e;hb=8e6cbcd7c0c661016f25f4782fb5f662b4dff140;hpb=9335a5f7c07cf16d3d167edee078b33c8dab725d diff --git a/apps/smime.c b/apps/smime.c index 90fe026f56..482bd18e43 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -530,9 +530,9 @@ int MAIN(int argc, char **argv) } else if(operation == SMIME_PK7OUT) { PEM_write_bio_PKCS7(out, p7); } else { - if(to) BIO_printf(out, "To: %s\n", to); - if(from) BIO_printf(out, "From: %s\n", from); - if(subject) BIO_printf(out, "Subject: %s\n", subject); + if(to) BIO_printf(out, "To: %s\r\n", to); + if(from) BIO_printf(out, "From: %s\r\n", from); + if(subject) BIO_printf(out, "Subject: %s\r\n", subject); if(outformat == FORMAT_SMIME) SMIME_write_PKCS7(out, p7, in, flags); else if(outformat == FORMAT_PEM)