Fix no-ec build
authorMatt Caswell <matt@openssl.org>
Wed, 12 Feb 2020 09:19:41 +0000 (09:19 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 12 Feb 2020 13:16:09 +0000 (13:16 +0000)
Don't attempt to build ecx related source files in a "no-ec" build.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11065)

providers/implementations/exchange/build.info
providers/implementations/keymgmt/build.info

index c74e1228443fa2362c7845b595bc940e89136eab..51d32fc090540692be1a3fb2d9a552f9761afc47 100644 (file)
@@ -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
index 2a79b39b33dbe4803a7078c468a1931fe24959ca..1e4146d15ac37724f2f30ddfd902a94ced2a5f8b 100644 (file)
@@ -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