OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Andy
Polyakov
Root: /v/openssl/cvs Email: appro openssl.org
Module: openssl Date:
18-Sep-2007 22:59:34
Branch: OpenSSL_0_9_8-stable Handle:
2007091821593300
Modified files: (Branch: OpenSSL_0_9_8-stable)
openssl/crypto/des set_key.c
Log:
Wire DES weak_keys to read-only segment [from HEAD].
Summary:
Revision Changes Path
1.20.2.1 +1 -1 openssl/crypto/des/set_key.c
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/crypto/des/set_key.c
============================================================
================
$ cvs diff -u -r1.20 -r1.20.2.1 set_key.c
--- openssl/crypto/des/set_key.c 29 Oct 2003 20:24:09
-0000 1.20
+++ openssl/crypto/des/set_key.c 18 Sep 2007 20:59:33
-0000 1.20.2.1
 -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-cvs openssl.org
Automated List Manager
majordomo openssl.org
|