List Info

Thread: OpenSSL: OpenSSL_0_9_8-stable: openssl/ FAQ openssl/crypto/rand/...




OpenSSL: OpenSSL_0_9_8-stable: openssl/ FAQ openssl/crypto/rand/...
country flaguser name
Germany
2007-09-20 07:33:26
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Ben
Laurie
  Root:   /v/openssl/cvs                   Email:  benopenssl.org
  Module: openssl                          Date:  
20-Sep-2007 14:33:24
  Branch: OpenSSL_0_9_8-stable             Handle:
2007092013332202

  Modified files:           (Branch: OpenSSL_0_9_8-stable)
    openssl                 FAQ
    openssl/crypto/rand     rand_lib.c

  Log:
    Use PURIFY instead of PEDANTIC.

  Summary:
    Revision    Changes     Path
    1.100.2.17  +3  -3      openssl/FAQ
    1.16.2.3    +2  -2      openssl/crypto/rand/rand_lib.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/FAQ
 
============================================================
================
  $ cvs diff -u -r1.100.2.16 -r1.100.2.17 FAQ
  --- openssl/FAQ	20 Sep 2007 11:32:09 -0000	1.100.2.16
  +++ openssl/FAQ	20 Sep 2007 12:33:22 -0000	1.100.2.17
   -901,10 +901,10 
   buffer contents are mixed into the entropy pool: so it
technically does not
   matter whether the buffer is initialized at this point or
not.  Valgrind (and
   other test tools) will complain about this. When using
Valgrind, make sure the
  -OpenSSL library has been compiled with the PEDANTIC macro
defined (-DPEDANTIC)
  -to get rid of these warnings.  Compling with -DPURIFY
will help as well.
  +OpenSSL library has been compiled with the PURIFY macro
defined (-DPURIFY)
  +to get rid of these warnings
   
  -The use of PEDANTIC with the PRNG was added in OpenSSL
0.9.8f.
  +The use of PURIFY with the PRNG was added in OpenSSL
0.9.8f.
   
   
  
============================================================
===================
   .
  patch -p0 <<' .'
  Index: openssl/crypto/rand/rand_lib.c
 
============================================================
================
  $ cvs diff -u -r1.16.2.2 -r1.16.2.3 rand_lib.c
  --- openssl/crypto/rand/rand_lib.c	19 Sep 2007 13:29:05
-0000	1.16.2.2
  +++ openssl/crypto/rand/rand_lib.c	20 Sep 2007 12:33:24
-0000	1.16.2.3
   -154,7 +154,7 
   int RAND_bytes(unsigned char *buf, int num)
   	{
   	const RAND_METHOD *meth = RAND_get_rand_method();
  -#ifdef PEDANTIC
  +#ifdef PURIFY
   	memset(buf, 0, num);
   #endif
   	if (meth && meth->bytes)
   -165,7 +165,7 
   int RAND_pseudo_bytes(unsigned char *buf, int num)
   	{
   	const RAND_METHOD *meth = RAND_get_rand_method();
  -#ifdef PEDANTIC
  +#ifdef PURIFY
   	memset(buf, 0, num);
   #endif
   	if (meth && meth->pseudorand)
   .
____________________________________________________________
__________
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 )