artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db9cd57
)
Remove .init section that calls OPENSSL_cpuid_setup on i386.
author
jsing
<jsing@openbsd.org>
Thu, 28 Mar 2024 11:21:12 +0000
(11:21 +0000)
committer
jsing
<jsing@openbsd.org>
Thu, 28 Mar 2024 11:21:12 +0000
(11:21 +0000)
OPENSSL_cpuid_setup() is already called from OPENSSL_crypto_init(), hence
we do not need or want automatic initialisation on library load.
lib/libcrypto/x86cpuid.pl
patch
|
blob
|
history
diff --git
a/lib/libcrypto/x86cpuid.pl
b/lib/libcrypto/x86cpuid.pl
index
d6ebede
..
4001458
100644
(file)
--- a/
lib/libcrypto/x86cpuid.pl
+++ b/
lib/libcrypto/x86cpuid.pl
@@
-150,8
+150,4
@@
for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
&set_label("nocpuid");
&function_end("OPENSSL_ia32_cpuid");
-&external_label("OPENSSL_ia32cap_P");
-
-&initseg("OPENSSL_cpuid_setup");
-
&asm_finish();