artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b5e5f
)
Invoke OPENSSL_add_all_algorithms_noconf() to enforce OPENSSL_cpuid_setup()
author
miod
<miod@openbsd.org>
Thu, 17 Apr 2014 17:49:36 +0000
(17:49 +0000)
committer
miod
<miod@openbsd.org>
Thu, 17 Apr 2014 17:49:36 +0000
(17:49 +0000)
has been called, for, depending how libcrypto, it might be a hidden symbol.
Reported by jsg@
regress/lib/libcrypto/rc4/rc4test.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/rc4/rc4test.c
b/regress/lib/libcrypto/rc4/rc4test.c
index
84cb167
..
a0b08a6
100644
(file)
--- 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++)
{