apps/smime.c contain code, documentation seem to be somewhat
nonexisting/unstructured so the source was more useful for me at
least.

ObPatch:  Could someone comment on this?

2000-07-23  Simon Josefsson  <[EMAIL PROTECTED]>

        * crypto/pkcs7/pk7_mime.c (SMIME_write_PKCS7): Remove spurious \r
        in S/MIME messages.

--- crypto/pkcs7/pk7_mime.c-    Wed Jul  5 20:53:51 2000
+++ crypto/pkcs7/pk7_mime.c     Wed Jul  5 20:54:05 2000
@@ -170,7 +170,7 @@
                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\r\n", bound);
+               BIO_printf(bio, "------%s\n", bound);
                if(flags & PKCS7_TEXT) BIO_printf(bio, "Content-Type: text/plain\n\n");
                while((i = BIO_read(data, linebuf, MAX_SMLEN)) > 0) 
                                                BIO_write(bio, linebuf, i);


Tom Schuring <[EMAIL PROTECTED]> writes:

> sorry, I was more looking for example code..(forgot to say that)
> 
> 
> -----Original Message-----
> From: Simon Josefsson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 18, 2000 10:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: s/mime
> 
> 
> Tom Schuring <[EMAIL PROTECTED]> writes:
> 
> > Hello,
> >  
> > are there any examples around of how to use the s/mime capability of
> openSSL
> > ?
> 
> `man smime', search for EXAMPLES
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to