summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-02-09 11:26:14 +0000
committerMatt Caswell <matt@openssl.org>2016-02-09 15:11:38 +0000
commitb184e3ef73200cb3b7914a603b43a5b8a074c85f (patch)
tree95533e5aa6e9a0ae6e17605fc76441324cdc8ee9 /Configure
parentbc66265da8f4c8830cfaf229c985bc391075aa9d (diff)
Provide framework for auto initialise/deinitialise of the library
This commit provides the basis and core code for an auto initialisation and deinitialisation framework for libcrypto and libssl. The intention is to remove the need (in many circumstances) to call explicit initialise and deinitialise functions. Explicit initialisation will still be an option, and if non-default initialisation is needed then it will be required. Similarly for de-initialisation (although this will be a lot easier since it will bring all de-initialisation into a single function). Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/Configure b/Configure
index 97df83c0db..ba21c4f85f 100755
--- a/Configure
+++ b/Configure
@@ -227,6 +227,7 @@ my @disablables = (
"aes",
"asm",
"async",
+ "autoalginit",
"bf",
"camellia",
"capieng",
@@ -741,7 +742,8 @@ foreach (sort (keys %disabled))
my ($ALGO, $algo);
($ALGO = $algo = $_) =~ tr/[\-a-z]/[_A-Z]/;
- if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/ || /^async$/)
+ if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/ || /^async$/
+ || /^autoalginit/)
{
push @{$config{openssl_other_defines}}, "OPENSSL_NO_$ALGO";
print " OPENSSL_NO_$ALGO";