From 52739e40ccc1b16cd966ea204bcfea3cc874fec8 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Thu, 4 Feb 2016 11:41:25 -0500 Subject: 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 Reviewed-by: Matt Caswell --- Configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Configure') 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"; -- cgit v1.1