diff options
author | djm <> | 2012-10-13 21:23:58 +0000 |
---|---|---|
committer | djm <> | 2012-10-13 21:23:58 +0000 |
commit | eb9e590d2bbc1d57aee9aee0fe94c001fb27e697 (patch) | |
tree | cfb338ea736543eb88bd6c3f56f007ecb05dce51 /src/lib/libcrypto/rc4/rc4test.c | |
parent | dd489e85d1735eb58774a1c57c6f586cede35b5d (diff) | |
download | openbsd-eb9e590d2bbc1d57aee9aee0fe94c001fb27e697.tar.gz openbsd-eb9e590d2bbc1d57aee9aee0fe94c001fb27e697.tar.bz2 openbsd-eb9e590d2bbc1d57aee9aee0fe94c001fb27e697.zip |
import OpenSSL-1.0.1c
Diffstat (limited to 'src/lib/libcrypto/rc4/rc4test.c')
-rw-r--r-- | src/lib/libcrypto/rc4/rc4test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/libcrypto/rc4/rc4test.c b/src/lib/libcrypto/rc4/rc4test.c index 633a79e758..4312605ccb 100644 --- a/src/lib/libcrypto/rc4/rc4test.c +++ b/src/lib/libcrypto/rc4/rc4test.c | |||
@@ -120,6 +120,12 @@ int main(int argc, char *argv[]) | |||
120 | RC4_KEY key; | 120 | RC4_KEY key; |
121 | unsigned char obuf[512]; | 121 | unsigned char obuf[512]; |
122 | 122 | ||
123 | #if !defined(OPENSSL_PIC) | ||
124 | void OPENSSL_cpuid_setup(void); | ||
125 | |||
126 | OPENSSL_cpuid_setup(); | ||
127 | #endif | ||
128 | |||
123 | for (i=0; i<6; i++) | 129 | for (i=0; i<6; i++) |
124 | { | 130 | { |
125 | RC4_set_key(&key,keys[i][0],&(keys[i][1])); | 131 | RC4_set_key(&key,keys[i][0],&(keys[i][1])); |