diff options
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2test.c')
-rw-r--r-- | src/lib/libcrypto/rc2/rc2test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rc2/rc2test.c b/src/lib/libcrypto/rc2/rc2test.c index 6a5defa6ea..521269ded1 100644 --- a/src/lib/libcrypto/rc2/rc2test.c +++ b/src/lib/libcrypto/rc2/rc2test.c | |||
@@ -72,7 +72,7 @@ int main(int argc, char *argv[]) | |||
72 | #else | 72 | #else |
73 | #include <openssl/rc2.h> | 73 | #include <openssl/rc2.h> |
74 | 74 | ||
75 | unsigned char RC2key[4][16]={ | 75 | static unsigned char RC2key[4][16]={ |
76 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 76 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
77 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, | 77 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, |
78 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | 78 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
@@ -83,14 +83,14 @@ unsigned char RC2key[4][16]={ | |||
83 | 0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F}, | 83 | 0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F}, |
84 | }; | 84 | }; |
85 | 85 | ||
86 | unsigned char RC2plain[4][8]={ | 86 | static unsigned char RC2plain[4][8]={ |
87 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, | 87 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, |
88 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, | 88 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, |
89 | {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}, | 89 | {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}, |
90 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, | 90 | {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, |
91 | }; | 91 | }; |
92 | 92 | ||
93 | unsigned char RC2cipher[4][8]={ | 93 | static unsigned char RC2cipher[4][8]={ |
94 | {0x1C,0x19,0x8A,0x83,0x8D,0xF0,0x28,0xB7}, | 94 | {0x1C,0x19,0x8A,0x83,0x8D,0xF0,0x28,0xB7}, |
95 | {0x21,0x82,0x9C,0x78,0xA9,0xF9,0xC0,0x74}, | 95 | {0x21,0x82,0x9C,0x78,0xA9,0xF9,0xC0,0x74}, |
96 | {0x13,0xDB,0x35,0x17,0xD3,0x21,0x86,0x9E}, | 96 | {0x13,0xDB,0x35,0x17,0xD3,0x21,0x86,0x9E}, |