summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kaduk <kaduk@mit.edu>2020-06-13 04:56:11 +0200
committerBenjamin Kaduk <kaduk@mit.edu>2020-06-14 21:35:34 +0200
commit670ff08e77c5b331443a3ed6d41564d863a47f06 (patch)
tree54f90b1c0732d02f05184a3e294830127e5a6ddc
parentFix nits detected by make cmd-nits (diff)
downloadopenssl-670ff08e77c5b331443a3ed6d41564d863a47f06.tar.xz
openssl-670ff08e77c5b331443a3ed6d41564d863a47f06.zip
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 <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/12128)
Diffstat (limited to '')
-rw-r--r--crypto/cast/build.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cast/build.info b/crypto/cast/build.info
index 8763f22405..01a3691d68 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