From f12d5e8e579bed92a70d9d81ec8e318483c982a7 Mon Sep 17 00:00:00 2001 From: miod <> Date: Thu, 17 Apr 2014 17:49:36 +0000 Subject: Invoke OPENSSL_add_all_algorithms_noconf() to enforce OPENSSL_cpuid_setup() has been called, for, depending how libcrypto, it might be a hidden symbol. Reported by jsg@ --- src/regress/lib/libcrypto/rc4/rc4test.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/regress/lib/libcrypto/rc4/rc4test.c b/src/regress/lib/libcrypto/rc4/rc4test.c index 84cb167b36..a0b08a63c3 100644 --- a/src/regress/lib/libcrypto/rc4/rc4test.c +++ b/src/regress/lib/libcrypto/rc4/rc4test.c @@ -111,11 +111,7 @@ 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 + OPENSSL_add_all_algorithms_noconf(); for (i=0; i<6; i++) { -- cgit v1.2.3-55-g6feb