summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc2
diff options
context:
space:
mode:
authorbeck <>2000-03-19 11:13:58 +0000
committerbeck <>2000-03-19 11:13:58 +0000
commit796d609550df3a33fc11468741c5d2f6d3df4c11 (patch)
tree6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/rc2
parent5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff)
downloadopenbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.gz
openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.bz2
openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.zip
OpenSSL 0.9.5 merge
*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
Diffstat (limited to 'src/lib/libcrypto/rc2')
-rw-r--r--src/lib/libcrypto/rc2/rc2speed.c2
-rw-r--r--src/lib/libcrypto/rc2/rc2test.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/rc2/rc2speed.c b/src/lib/libcrypto/rc2/rc2speed.c
index c3da63e77e..9f7f5ccfa3 100644
--- a/src/lib/libcrypto/rc2/rc2speed.c
+++ b/src/lib/libcrypto/rc2/rc2speed.c
@@ -183,7 +183,7 @@ int main(int argc, char **argv)
183#endif 183#endif
184 184
185#ifndef TIMES 185#ifndef TIMES
186 printf("To get the most acurate results, try to run this\n"); 186 printf("To get the most accurate results, try to run this\n");
187 printf("program when this computer is idle.\n"); 187 printf("program when this computer is idle.\n");
188#endif 188#endif
189 189
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
75unsigned char RC2key[4][16]={ 75static 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
86unsigned char RC2plain[4][8]={ 86static 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
93unsigned char RC2cipher[4][8]={ 93static 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},