Don't build dynamic engines unless configured "shared"
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Mar 2016 11:58:15 +0000 (12:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 11 Mar 2016 11:58:15 +0000 (12:58 +0100)
Experience has shown that dynamic engines with their own copy of
libcrypto is problematic, so we disable that possibility.

Reviewed-by: Matt Caswell <matt@openssl.org>
Configure

index 9b14579f5b95bdb21a8b07b5378938b9b19b9388..eeae03e2298f467b4b09583d845f924bb9e0ba7c 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -396,7 +396,8 @@ my @disable_cascades = (
     "dso"               => [ "dynamic-engine" ],
 
     # Without position independent code, there can be no shared libraries or DSOs
-    "pic"               => [ "shared", "dynamic-engine" ],
+    "pic"               => [ "shared" ],
+    "shared"            => [ "dynamic-engine" ],
     );
 
 # Avoid protocol support holes.  Also disable all versions below N, if version