diff options
author | Richard Levitte <levitte@openssl.org> | 2002-07-18 08:47:33 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-07-18 08:47:33 +0000 |
commit | 8e6cbcd7c0c661016f25f4782fb5f662b4dff140 (patch) | |
tree | 2bb0558a209033232ba82d8743ccca5ed5114f54 /apps | |
parent | 9335a5f7c07cf16d3d167edee078b33c8dab725d (diff) |
Make S/MIME output conform with the mail and MIME standards.
PR: 151
Diffstat (limited to 'apps')
-rw-r--r-- | apps/smime.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |