List Info

Thread: OpenSSL: openssl/apps/ smime.c




OpenSSL: openssl/apps/ smime.c
user name
2006-07-13 20:29:56
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Dr.
Stephen Henson
  Root:   /v/openssl/cvs                   Email:  steveopenssl.org
  Module: openssl                          Date:  
13-Jul-2006 22:29:56
  Branch: HEAD                             Handle:
2006071321295500

  Modified files:
    openssl/apps            smime.c

  Log:
    There is should be no need to rewind the input stream
any more.
    
    For S/MIME multipart/signed type the signature is
calculated on the fly.
    
    For other detached data forms the stream isn't used
after the single pass to
    calculate signatures.
    
    For non-detached the data is stored in a memory BIO.

  Summary:
    Revision    Changes     Path
    1.64        +0  -5      openssl/apps/smime.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/apps/smime.c
 
============================================================
================
  $ cvs diff -u -r1.63 -r1.64 smime.c
  --- openssl/apps/smime.c	9 Jun 2006 15:44:28 -0000	1.63
  +++ openssl/apps/smime.c	13 Jul 2006 20:29:55 -0000	1.64
   -708,11 +708,6 
   			{
   			if (!PKCS7_final(p7, in, flags))
   				goto end;
  -			if (BIO_reset(in) != 0)
  -				{
  -				BIO_puts(bio_err, "Can't rewind input
file\n");
  -				goto end;
  -				}
   			}
   		}
   
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )