Move engines/afalg to engines
authorRich Salz <rsalz@openssl.org>
Sat, 20 May 2017 01:27:58 +0000 (21:27 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 20 May 2017 01:45:28 +0000 (21:45 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3491)

engines/afalg/build.info [deleted file]
engines/build.info
engines/e_afalg.c [moved from engines/afalg/e_afalg.c with 100% similarity]
engines/e_afalg.ec [moved from engines/afalg/e_afalg.ec with 100% similarity]
engines/e_afalg.h [moved from engines/afalg/e_afalg.h with 100% similarity]
engines/e_afalg_err.c [moved from engines/afalg/e_afalg_err.c with 100% similarity]
engines/e_afalg_err.h [moved from engines/afalg/e_afalg_err.h with 100% similarity]

diff --git a/engines/afalg/build.info b/engines/afalg/build.info
deleted file mode 100644 (file)
index 8601b1a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-IF[{- !$disabled{"engine"} -}]
-  IF[{- !$disabled{afalg} -}]
-    IF[{- $disabled{"dynamic-engine"} -}]
-      LIBS=../../libcrypto
-      SOURCE[../../libcrypto]=e_afalg.c e_afalg_err.c
-    ELSE
-      ENGINES=afalg
-      SOURCE[afalg]=e_afalg.c e_afalg_err.c
-      DEPEND[afalg]=../../libcrypto
-      INCLUDE[afalg]= ../../include
-    ENDIF
-  ENDIF
-ENDIF
index 1c47e77..2f0c54a 100644 (file)
@@ -1,4 +1,5 @@
 IF[{- !$disabled{"engine"} -}]
+
   IF[{- $disabled{"dynamic-engine"} -}]
     LIBS=../libcrypto
     SOURCE[../libcrypto]=\
@@ -6,6 +7,9 @@ IF[{- !$disabled{"engine"} -}]
     IF[{- !$disabled{capieng} -}]
       SOURCE[../libcrypto]=e_capi.c
     ENDIF
+    IF[{- !$disabled{afalgeng} -}]
+      SOURCE[../libcrypto]=e_afalg.c e_afalg_err.c
+    ENDIF
   ELSE
     ENGINES=padlock
     SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
@@ -17,6 +21,12 @@ IF[{- !$disabled{"engine"} -}]
       DEPEND[capi]=../libcrypto
       INCLUDE[capi]=../include
     ENDIF
+    IF[{- !$disabled{afalgeng} -}]
+      ENGINES=afalg
+      SOURCE[afalg]=e_afalg.c e_afalg_err.c
+      DEPEND[afalg]=../libcrypto
+      INCLUDE[afalg]= ../include
+    ENDIF
 
     ENGINES_NO_INST=ossltest dasync
     SOURCE[dasync]=e_dasync.c
similarity index 100%
rename from engines/afalg/e_afalg.c
rename to engines/e_afalg.c
similarity index 100%
rename from engines/afalg/e_afalg.ec
rename to engines/e_afalg.ec
similarity index 100%
rename from engines/afalg/e_afalg.h
rename to engines/e_afalg.h