List Info

Thread: OpenSSL: openssl/apps/ dgst.c




OpenSSL: openssl/apps/ dgst.c
country flaguser name
Germany
2007-04-30 10:20:11
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
30-Apr-2007 17:20:11
  Branch: HEAD                             Handle:
2007043016201000

  Modified files:
    openssl/apps            dgst.c

  Log:
    Bug in apps/dgst.c.

  Summary:
    Revision    Changes     Path
    1.43        +2  -2      openssl/apps/dgst.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/apps/dgst.c
 
============================================================
================
  $ cvs diff -u -r1.42 -r1.43 dgst.c
  --- openssl/apps/dgst.c	11 Apr 2007 17:20:38 -0000	1.42
  +++ openssl/apps/dgst.c	30 Apr 2007 15:20:10 -0000	1.43
   -534,7 +534,7 
   	  EVP_PKEY *key, unsigned char *sigin, int siglen, const
char *title,
   	  const char *file,BIO *bmd)
   	{
  -	unsigned int len;
  +	size_t len;
   	int i;
   
   	for (;;)
   -572,7 +572,7 
   		{
   		EVP_MD_CTX *ctx;
   		BIO_get_md_ctx(bp, &ctx);
  -		if(!EVP_DigestSignFinal(ctx, buf, (unsigned int
*)&len)) 
  +		if(!EVP_DigestSignFinal(ctx, buf, &len)) 
   			{
   			BIO_printf(bio_err, "Error Signing
Datan");
   			ERR_print_errors(bio_err);
   .
____________________________________________________________
__________
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 )