List Info

Thread: OpenSSL: OpenSSL-fips-0_9_8-stable: openssl/fips/dh/ fips_dh_key...




OpenSSL: OpenSSL-fips-0_9_8-stable: openssl/fips/dh/ fips_dh_key...
country flaguser name
Germany
2007-08-21 09:44:14
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
21-Aug-2007 16:44:14
  Branch: OpenSSL-fips-0_9_8-stable        Handle:
2007082115441300

  Modified files:           (Branch:
OpenSSL-fips-0_9_8-stable)
    openssl/fips/dh         fips_dh_key.c

  Log:
    Avoid BN_CTX_free(uninitialized pointer).

  Summary:
    Revision    Changes     Path
    1.1.4.4     +1  -1      openssl/fips/dh/fips_dh_key.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/fips/dh/fips_dh_key.c
 
============================================================
================
  $ cvs diff -u -r1.1.4.3 -r1.1.4.4 fips_dh_key.c
  --- openssl/fips/dh/fips_dh_key.c	18 Aug 2007 02:46:11
-0000	1.1.4.3
  +++ openssl/fips/dh/fips_dh_key.c	21 Aug 2007 14:44:13
-0000	1.1.4.4
   -115,7 +115,7 
   	if (FIPS_mode() && (BN_num_bits(dh->p) <
OPENSSL_DH_FIPS_MIN_MODULUS_BITS))
   		{
   		DHerr(DH_F_GENERATE_KEY, DH_R_KEY_SIZE_TOO_SMALL);
  -		goto err;
  +		return 0;
   		}
   
   	ctx = BN_CTX_new();
   .
____________________________________________________________
__________
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 )