diff options
author | Andy Polyakov <appro@openssl.org> | 2011-11-15 12:39:48 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-11-15 12:39:48 +0000 |
commit | cd7b854bbbfe368f09204bee105551e7f25a707c (patch) | |
tree | 7934e15f4152f6b963ef0c683ae60987443ca059 /crypto/rc4 | |
parent | aecc0756e8ba3b8ea678f3bcdee84d89a0f88a91 (diff) |
e_rc4_hmac_md5.c: make it work on darwin64, which is configured with RC4_CHAR.
Diffstat (limited to 'crypto/rc4')
-rw-r--r-- | crypto/rc4/rc4test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/rc4/rc4test.c b/crypto/rc4/rc4test.c index 633a79e758..4312605ccb 100644 --- a/crypto/rc4/rc4test.c +++ b/crypto/rc4/rc4test.c @@ -120,6 +120,12 @@ int main(int argc, char *argv[]) RC4_KEY key; unsigned char obuf[512]; +#if !defined(OPENSSL_PIC) + void OPENSSL_cpuid_setup(void); + + OPENSSL_cpuid_setup(); +#endif + for (i=0; i<6; i++) { RC4_set_key(&key,keys[i][0],&(keys[i][1])); |