diff options
| author | miod <> | 2014-04-17 17:49:36 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-17 17:49:36 +0000 |
| commit | 3fa0871330ac761adea4bdcd71ac5392c0bb0118 (patch) | |
| tree | 0189d86389a3c2acbe91d31b045c4e1081f78e64 /src | |
| parent | 51a9a47c19f3d9c5da197e2fd3ee985fe2cfaeac (diff) | |
| download | openbsd-3fa0871330ac761adea4bdcd71ac5392c0bb0118.tar.gz openbsd-3fa0871330ac761adea4bdcd71ac5392c0bb0118.tar.bz2 openbsd-3fa0871330ac761adea4bdcd71ac5392c0bb0118.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@
Diffstat (limited to 'src')
| -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 | { |
