aboutsummaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorTodd Short <tshort@akamai.com>2016-02-04 11:41:25 -0500
committerRich Salz <rsalz@openssl.org>2016-02-04 12:07:50 -0500
commit52739e40ccc1b16cd966ea204bcfea3cc874fec8 (patch)
treeb63c45d8d798aa5fb95680bd87c3a2e1f6f1c971 /Configure
parented03c46134b1ebfcbee937c74e7f4517893be1fd (diff)
downloadopenssl-52739e40ccc1b16cd966ea204bcfea3cc874fec8.zip
openssl-52739e40ccc1b16cd966ea204bcfea3cc874fec8.tar.gz
openssl-52739e40ccc1b16cd966ea204bcfea3cc874fec8.tar.bz2
Add option to disable async
Add no-async option to Configure that forces ASYNC_NULL. Related to RT1979 An embedded system or replacement C library (e.g. musl or uClibc) may not support the *context APIs that are needed for async operation. Compiles with musl. Ran unit tests, async tests skipped as expected. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configure b/Configure
index 77bb60c..56fa31a 100755
--- a/Configure
+++ b/Configure
@@ -227,6 +227,7 @@ my @dtls = qw(dtls1 dtls1_2);
my @disablables = (
"aes",
"asm",
+ "async",
"bf",
"camellia",
"capieng",
@@ -741,7 +742,7 @@ foreach (sort (keys %disabled))
my ($ALGO, $algo);
($ALGO = $algo = $_) =~ tr/[\-a-z]/[_A-Z]/;
- if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/)
+ if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/ || /^async$/)
{
push @{$config{openssl_other_defines}}, "OPENSSL_NO_$ALGO";
print " OPENSSL_NO_$ALGO";