summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-02-09 09:39:07 +0000
committerMatt Caswell <matt@openssl.org>2016-02-09 15:11:38 +0000
commit498abff0ae907dce08f37a1353976755e8c8120e (patch)
tree523033d5c005cbe95a4c56c57c8f25a5f452932b /Configure
parent71567a6f418ed1dc42d4c5ec57f72d3119b75966 (diff)
Add an OPENSSL_NO_AUTOERRINIT option
This option disables automatic loading of the crypto/ssl error strings in order to keep statically linked executable file size down Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configure b/Configure
index ba21c4f85f..c81a66157e 100755
--- a/Configure
+++ b/Configure
@@ -228,6 +228,7 @@ my @disablables = (
"asm",
"async",
"autoalginit",
+ "autoerrinit",
"bf",
"camellia",
"capieng",
@@ -743,7 +744,7 @@ foreach (sort (keys %disabled))
($ALGO = $algo = $_) =~ tr/[\-a-z]/[_A-Z]/;
if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/ || /^async$/
- || /^autoalginit/)
+ || /^autoalginit/ || /^autoerrinit/)
{
push @{$config{openssl_other_defines}}, "OPENSSL_NO_$ALGO";
print " OPENSSL_NO_$ALGO";