| commit | 61836c1b707f85f0573392d8532c4f837f678568 | [log] [tgz] |
|---|---|---|
| author | Andy Polyakov <appro@openssl.org> | Tue Sep 18 20:58:33 2007 +0000 |
| committer | Andy Polyakov <appro@openssl.org> | Tue Sep 18 20:58:33 2007 +0000 |
| tree | efe102018365f9e225e4eaea698d10529e7ae4ba | |
| parent | 2a1b0c8d650295b4466a5f86a0971189c3038ff5 [diff] |
Wire DES weak_keys to read-only segment.
diff --git a/crypto/des/set_key.c b/crypto/des/set_key.c index d849999..ccfad81 100644 --- a/crypto/des/set_key.c +++ b/crypto/des/set_key.c
@@ -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},