summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorclucey <catriona.lucey@intel.com>2016-02-23 08:01:01 +0000
committerMatt Caswell <matt@openssl.org>2016-03-07 13:36:17 +0000
commit6cba4a66619dfb2c5cb784fe5aa5677cafbf9a33 (patch)
tree9757390141c45251e2127482dbff5b06f183d538 /Configure
parent7f458a48ff3a231d5841466525d2aacbcd4f6b77 (diff)
Rework based on feedback:
1. Cleaned up eventfd handling 2. Reworked socket setup code to allow other algorithms to be added in future 3. Fixed compile errors for static build 4. Added error to error stack in all cases of ALG_PERR/ALG_ERR 5. Called afalg_aes_128_cbc() from bind() to avoid race conditions 6. Used MAX_INFLIGHT define in io_getevents system call 7. Coding style fixes Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/Configure b/Configure
index 1a578be091..5fd3363066 100755
--- a/Configure
+++ b/Configure
@@ -1183,7 +1183,11 @@ if ($target =~ m/^linux/) {
my ($ma, $mi1, $mi2) = split("\\.", $verstr);
($mi2) = $mi2 =~ /(\d+)/;
my $ver = $ma*10000 + $mi1*100 + $mi2;
- $config{afalg}="afalg" if ($ver >= $minver);
+ if ($ver >= $minver) {
+ $config{afalg}="afalg";
+ } else {
+ push @{$config{openssl_other_defines}}, "OPENSSL_NO_AFALGENG";
+ }
}
}
push @{$config{engdirs}}, $config{afalg};