mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Wire DES weak_keys to read-only segment.
This commit is contained in:
parent
2a1b0c8d65
commit
61836c1b70
@ -115,7 +115,7 @@ int DES_check_key_parity(const_DES_cblock *key)
|
||||
* (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},
|
||||
|
Loading…
Reference in New Issue
Block a user