From 76a784dab583cd423f3ff66636ea7b6b6f4dee61 Mon Sep 17 00:00:00 2001 From: miod <> Date: Fri, 4 Nov 2016 13:53:06 +0000 Subject: In OPENSSL_wipe_cpu() on i386, which noone uses anyway, check the proper flag for the presence of a FPU before deciding to wipe the fpu registers. ok jsing@ --- src/lib/libcrypto/x86cpuid.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/x86cpuid.pl b/src/lib/libcrypto/x86cpuid.pl index 8a96cda6e6..7918629f64 100644 --- a/src/lib/libcrypto/x86cpuid.pl +++ b/src/lib/libcrypto/x86cpuid.pl @@ -148,7 +148,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); } &xor ("edx","edx"); &picmeup("ecx","OPENSSL_ia32cap_P"); &mov ("ecx",&DWP(0,"ecx")); - &bt (&DWP(0,"ecx"),1); + &bt (&DWP(0,"ecx"),0); &jnc (&label("no_x87")); if ($sse2) { &and ("ecx",1<<26|1<<24); # check SSE2 and FXSR bits -- cgit v1.2.3-55-g6feb