From: Benjamin Kaduk Date: Sat, 13 Jun 2020 02:56:11 +0000 (-0700) Subject: Fix logic error for building x86 CAST assembly X-Git-Tag: openssl-3.0.0-alpha4~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=670ff08e77c5b331443a3ed6d41564d863a47f06;p=thirdparty%2Fopenssl.git Fix logic error for building x86 CAST assembly The assembly code is not PIC, so we should only try to build it when the configuration has disabled PIC, not the other way around. Reviewed-by: Kurt Roeckx (Merged from https://github.com/openssl/openssl/pull/12128) --- diff --git a/crypto/cast/build.info b/crypto/cast/build.info index 8763f224054..01a3691d687 100644 --- a/crypto/cast/build.info +++ b/crypto/cast/build.info @@ -2,7 +2,7 @@ LIBS=../../libcrypto $CASTASM=c_enc.c # CAST assembly source is not PIC -IF[{- !$disabled{asm} && !$disabled{pic} -}] +IF[{- !$disabled{asm} && $disabled{pic} -}] $CASTASM_x86=cast-586.s # Now that we have defined all the arch specific variables, use the