diff options
author | miod <> | 2014-04-17 17:49:36 +0000 |
---|---|---|
committer | miod <> | 2014-04-17 17:49:36 +0000 |
commit | f12d5e8e579bed92a70d9d81ec8e318483c982a7 (patch) | |
tree | 0189d86389a3c2acbe91d31b045c4e1081f78e64 | |
parent | be0fb4329cddeefa911490f2b43cba7e095d4112 (diff) | |
download | openbsd-f12d5e8e579bed92a70d9d81ec8e318483c982a7.tar.gz openbsd-f12d5e8e579bed92a70d9d81ec8e318483c982a7.tar.bz2 openbsd-f12d5e8e579bed92a70d9d81ec8e318483c982a7.zip |
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@
-rw-r--r-- | src/regress/lib/libcrypto/rc4/rc4test.c | 6 |
1 files changed, 1 insertions, 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[]) | |||
111 | RC4_KEY key; | 111 | RC4_KEY key; |
112 | unsigned char obuf[512]; | 112 | unsigned char obuf[512]; |
113 | 113 | ||
114 | #if !defined(OPENSSL_PIC) | 114 | OPENSSL_add_all_algorithms_noconf(); |
115 | void OPENSSL_cpuid_setup(void); | ||
116 | |||
117 | OPENSSL_cpuid_setup(); | ||
118 | #endif | ||
119 | 115 | ||
120 | for (i=0; i<6; i++) | 116 | for (i=0; i<6; i++) |
121 | { | 117 | { |