diff options
author | jsing <> | 2024-03-28 11:21:12 +0000 |
---|---|---|
committer | jsing <> | 2024-03-28 11:21:12 +0000 |
commit | 09f13cb87410100cd8f34f68cfef25f99aa744ab (patch) | |
tree | 33e132c356a62abab70ac6234d275e6ad6c547ec /src/lib | |
parent | 887a06d794a5c0f039ea396e17b6318669ef86d7 (diff) | |
download | openbsd-09f13cb87410100cd8f34f68cfef25f99aa744ab.tar.gz openbsd-09f13cb87410100cd8f34f68cfef25f99aa744ab.tar.bz2 openbsd-09f13cb87410100cd8f34f68cfef25f99aa744ab.zip |
Remove .init section that calls OPENSSL_cpuid_setup on i386.
OPENSSL_cpuid_setup() is already called from OPENSSL_crypto_init(), hence
we do not need or want automatic initialisation on library load.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/x86cpuid.pl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x86cpuid.pl b/src/lib/libcrypto/x86cpuid.pl index d6ebede0f8..4001458393 100644 --- a/src/lib/libcrypto/x86cpuid.pl +++ b/src/lib/libcrypto/x86cpuid.pl | |||
@@ -150,8 +150,4 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } | |||
150 | &set_label("nocpuid"); | 150 | &set_label("nocpuid"); |
151 | &function_end("OPENSSL_ia32_cpuid"); | 151 | &function_end("OPENSSL_ia32_cpuid"); |
152 | 152 | ||
153 | &external_label("OPENSSL_ia32cap_P"); | ||
154 | |||
155 | &initseg("OPENSSL_cpuid_setup"); | ||
156 | |||
157 | &asm_finish(); | 153 | &asm_finish(); |