From: Matt Caswell Date: Wed, 12 Feb 2020 09:19:41 +0000 (+0000) Subject: Fix no-ec build X-Git-Tag: openssl-3.0.0-alpha1~481 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=104f85c62886e25188a71d1e498e553abedbf78c;p=oweals%2Fopenssl.git Fix no-ec build Don't attempt to build ecx related source files in a "no-ec" build. Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11065) --- diff --git a/providers/implementations/exchange/build.info b/providers/implementations/exchange/build.info index c74e122844..51d32fc090 100644 --- a/providers/implementations/exchange/build.info +++ b/providers/implementations/exchange/build.info @@ -18,6 +18,7 @@ IF[{- !$disabled{asm} -}] ENDIF ENDIF - -SOURCE[$ECX_GOAL]=ecx_exch.c -DEFINE[$ECX_GOAL]=$ECDEF +IF[{- !$disabled{ec} -}] + SOURCE[$ECX_GOAL]=ecx_exch.c + DEFINE[$ECX_GOAL]=$ECDEF +ENDIF diff --git a/providers/implementations/keymgmt/build.info b/providers/implementations/keymgmt/build.info index 2a79b39b33..1e4146d15a 100644 --- a/providers/implementations/keymgmt/build.info +++ b/providers/implementations/keymgmt/build.info @@ -13,4 +13,6 @@ IF[{- !$disabled{dsa} -}] SOURCE[$DSA_GOAL]=dsa_kmgmt.c ENDIF SOURCE[$RSA_GOAL]=rsa_kmgmt.c -SOURCE[$ECX_GOAL]=ecx_kmgmt.c +IF[{- !$disabled{ec} -}] + SOURCE[$ECX_GOAL]=ecx_kmgmt.c +ENDIF