From 17b9e7f5e3dfba53f0361a4a5118aeb035d68ff4 Mon Sep 17 00:00:00 2001 From: miod Date: Thu, 17 Apr 2014 17:49:36 +0000 Subject: [PATCH] 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@ --- regress/lib/libcrypto/rc4/rc4test.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/regress/lib/libcrypto/rc4/rc4test.c b/regress/lib/libcrypto/rc4/rc4test.c index 84cb167b36a..a0b08a63c33 100644 --- a/regress/lib/libcrypto/rc4/rc4test.c +++ b/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++) { -- 2.20.1