diff options
author | Yi Li <yi1.li@intel.com> | 2023-04-17 16:20:31 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-06-14 13:06:22 +1000 |
commit | 4032cd9a1434610e4dc2bbde01f98d04faa615e5 (patch) | |
tree | 6e40e7f29433428db03d9111e496716f2b6dd96a /providers/implementations/exchange | |
parent | cc343d047c147e0a395fb101efbe9dedf458aa17 (diff) |
configure: introduce no-ecx to remove ECX related feature
This can effectively reduce the binary size for platforms
that don't need ECX feature(~100KB).
Signed-off-by: Yi Li <yi1.li@intel.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20781)
Diffstat (limited to 'providers/implementations/exchange')
-rw-r--r-- | providers/implementations/exchange/build.info | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/providers/implementations/exchange/build.info b/providers/implementations/exchange/build.info index 3c1e5c58f1..0333c9f49c 100644 --- a/providers/implementations/exchange/build.info +++ b/providers/implementations/exchange/build.info @@ -21,8 +21,10 @@ IF[{- !$disabled{asm} -}] ENDIF IF[{- !$disabled{ec} -}] - SOURCE[$ECX_GOAL]=ecx_exch.c - DEFINE[$ECX_GOAL]=$ECDEF + IF[{- !$disabled{ecx} -}] + SOURCE[$ECX_GOAL]=ecx_exch.c + DEFINE[$ECX_GOAL]=$ECDEF + ENDIF SOURCE[$ECDH_GOAL]=ecdh_exch.c ENDIF |