Don't call cpuid in test; done as init.
Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
31305cdf9f
commit
795e123173
@ -120,12 +120,6 @@ int main(int argc, char *argv[])
|
|||||||
RC4_KEY key;
|
RC4_KEY key;
|
||||||
unsigned char obuf[512];
|
unsigned char obuf[512];
|
||||||
|
|
||||||
# if !defined(OPENSSL_PIC)
|
|
||||||
void OPENSSL_cpuid_setup(void);
|
|
||||||
|
|
||||||
OPENSSL_cpuid_setup();
|
|
||||||
# endif
|
|
||||||
|
|
||||||
for (i = 0; i < 6; i++) {
|
for (i = 0; i < 6; i++) {
|
||||||
RC4_set_key(&key, keys[i][0], &(keys[i][1]));
|
RC4_set_key(&key, keys[i][0], &(keys[i][1]));
|
||||||
memset(obuf, 0, sizeof(obuf));
|
memset(obuf, 0, sizeof(obuf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user