diff options
author | Richard Levitte <levitte@openssl.org> | 2001-01-30 14:38:59 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-01-30 14:38:59 +0100 |
commit | 16a44ae7e9e69d0f8e9c2261cc468846937cc190 (patch) | |
tree | b74b1494236bbb3e6c249ed51d48afe79c00f2df /crypto/pkcs7/pk7_mime.c | |
parent | Remove serial number file during 'make clean'. (diff) | |
download | openssl-16a44ae7e9e69d0f8e9c2261cc468846937cc190.tar.xz openssl-16a44ae7e9e69d0f8e9c2261cc468846937cc190.zip |
Increase consistency of header data (some mail readers really do not
like spaces before the semicolon, and besides, other parts of this
file makes the values without those spaces), and move spacing of
continuation lines to support BIO's that break lines after each
write.
Diffstat (limited to 'crypto/pkcs7/pk7_mime.c')
-rw-r--r-- | crypto/pkcs7/pk7_mime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index 994473c0bd..086d394270 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -165,9 +165,9 @@ int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) } bound[32] = 0; BIO_printf(bio, "MIME-Version: 1.0\n"); - BIO_printf(bio, "Content-Type: multipart/signed ; "); - BIO_printf(bio, "protocol=\"application/x-pkcs7-signature\" ; "); - BIO_printf(bio, "micalg=sha1 ; boundary=\"----%s\"\n\n", bound); + BIO_printf(bio, "Content-Type: multipart/signed;"); + BIO_printf(bio, " protocol=\"application/x-pkcs7-signature\";"); + BIO_printf(bio, " micalg=sha1; boundary=\"----%s\"\n\n", bound); BIO_printf(bio, "This is an S/MIME signed message\n\n"); /* Now write out the first part */ BIO_printf(bio, "------%s\n", bound); |