aboutsummaryrefslogtreecommitdiffstats
path: root/modules/eng_ossl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-03-12 01:12:25 +0000
committerlloyd <[email protected]>2007-03-12 01:12:25 +0000
commitcc8247386812fe1f0f1af9b81121dfe2798f0488 (patch)
tree14f002718595883029b538a3f54a95340d413b27 /modules/eng_ossl
parent1a1c59035e6aff9f8e41a87909154cc18717c47d (diff)
Provide a more flexible mechanism for specifying which modules are loaded.
Now three classes are defined: 'request', 'auto', and 'asm_ok'. The 'auto' class is loaded automatically if the platform support matches up with what we are building for (this is the former default). The 'request' mode means it is only loaded if specifically requested by name. The 'asm_ok' module is marked for all modules that use any assembler (including inline assembler). This normally functions like 'auto', unless --debug is passed to configure, in which case it is treated as 'request'. Modules which do not specify a load behavior are given a default of 'request'.
Diffstat (limited to 'modules/eng_ossl')
-rw-r--r--modules/eng_ossl/modinfo.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/eng_ossl/modinfo.txt b/modules/eng_ossl/modinfo.txt
index facad8a72..3378a9158 100644
--- a/modules/eng_ossl/modinfo.txt
+++ b/modules/eng_ossl/modinfo.txt
@@ -1,6 +1,8 @@
realname "OpenSSL Engine"
-uses_external_libs
+define ENGINE_OPENSSL
+
+load_on: request
<add>
eng_ossl.cpp
@@ -13,8 +15,6 @@ eng_ossl.h
bn_wrap.h
</add>
-define ENGINE_OPENSSL
-
<libs>
all -> crypto
</libs>