diff options
author | Benjamin Kaduk <kaduk@mit.edu> | 2020-06-12 19:56:11 -0700 |
---|---|---|
committer | Benjamin Kaduk <kaduk@mit.edu> | 2020-06-14 12:35:34 -0700 |
commit | 670ff08e77c5b331443a3ed6d41564d863a47f06 (patch) | |
tree | 54f90b1c0732d02f05184a3e294830127e5a6ddc /crypto/cast/build.info | |
parent | 2edb571b4b857e51620bfd93e240e39de40cb456 (diff) |
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 'crypto/cast/build.info')
-rw-r--r-- | crypto/cast/build.info | 2 |
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 |