List Info

Thread: OpenSSL: openssl/crypto/des/ set_key.c




OpenSSL: openssl/crypto/des/ set_key.c
country flaguser name
Germany
2007-09-18 15:58:34
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
18-Sep-2007 22:58:34
  Branch: HEAD                             Handle:
2007091821583300

  Modified files:
    openssl/crypto/des      set_key.c

  Log:
    Wire DES weak_keys to read-only segment.

  Summary:
    Revision    Changes     Path
    1.22        +1  -1      openssl/crypto/des/set_key.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/crypto/des/set_key.c
 
============================================================
================
  $ cvs diff -u -r1.21 -r1.22 set_key.c
  --- openssl/crypto/des/set_key.c	20 May 2007 20:11:19
-0000	1.21
  +++ openssl/crypto/des/set_key.c	18 Sep 2007 20:58:33
-0000	1.22
   -115,7 +115,7 
    * (and actual cblock values).
    */
   #define NUM_WEAK_KEY	16
  -static DES_cblock weak_keys[NUM_WEAK_KEY]={
  +static const DES_cblock weak_keys[NUM_WEAK_KEY]={
   	/* weak keys */
   	{0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01},
   	{0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE},
   .
____________________________________________________________
__________
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 )