summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-09-18 21:10:32 +0000
committerAndy Polyakov <appro@openssl.org>2007-09-18 21:10:32 +0000
commitcf2bc94e5cd2ec5bcaffc775bcd8a0599ced3adf (patch)
tree36bbfec4ef4d4f9f5ba16c3de96353c937977344
parent26f0cf69d3c23e63a1089a8c5d2ce9495536f044 (diff)
downloadopenssl-new-cf2bc94e5cd2ec5bcaffc775bcd8a0599ced3adf.tar.gz
Wire RC4 key_table to read-only segment.
-rw-r--r--crypto/rc2/rc2_skey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rc2/rc2_skey.c b/crypto/rc2/rc2_skey.c
index 4953642056..0150b0e035 100644
--- a/crypto/rc2/rc2_skey.c
+++ b/crypto/rc2/rc2_skey.c
@@ -59,7 +59,7 @@
#include <openssl/rc2.h>
#include "rc2_locl.h"
-static unsigned char key_table[256]={
+static const unsigned char key_table[256]={
0xd9,0x78,0xf9,0xc4,0x19,0xdd,0xb5,0xed,0x28,0xe9,0xfd,0x79,
0x4a,0xa0,0xd8,0x9d,0xc6,0x7e,0x37,0x83,0x2b,0x76,0x53,0x8e,
0x62,0x4c,0x64,0x88,0x44,0x8b,0xfb,0xa2,0x17,0x9a,0x59,0xf5,