e_rc4_hmac_md5.c: make it work on darwin64, which is configured with RC4_CHAR.

This commit is contained in:
Andy Polyakov
2011-11-15 12:39:48 +00:00
parent aecc0756e8
commit cd7b854bbb
2 changed files with 8 additions and 1 deletions

View File

@@ -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]));