summaryrefslogtreecommitdiffstats
path: root/crypto/ec/asm/ecp_nistz256-x86_64.pl
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2016-01-28 18:41:59 +0000
committerjkim <jkim@FreeBSD.org>2016-01-28 18:41:59 +0000
commit71cece53f20ad0348c8e6a83b032a4bcfa42cdcf (patch)
tree7af4d87a03d869e528631ede778e4423dd6a281a /crypto/ec/asm/ecp_nistz256-x86_64.pl
parentafd52a5fc90e70242dbb0e7d29987c976eb993e0 (diff)
downloadFreeBSD-src-71cece53f20ad0348c8e6a83b032a4bcfa42cdcf.zip
FreeBSD-src-71cece53f20ad0348c8e6a83b032a4bcfa42cdcf.tar.gz
Import OpenSSL 1.0.2f.
Diffstat (limited to 'crypto/ec/asm/ecp_nistz256-x86_64.pl')
-rwxr-xr-xcrypto/ec/asm/ecp_nistz256-x86_64.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/asm/ecp_nistz256-x86_64.pl b/crypto/ec/asm/ecp_nistz256-x86_64.pl
index 648c969..e6acfd5 100755
--- a/crypto/ec/asm/ecp_nistz256-x86_64.pl
+++ b/crypto/ec/asm/ecp_nistz256-x86_64.pl
@@ -81,7 +81,7 @@ if (!$addx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
$addx = ($1>=12);
}
-if (!$addx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|based on LLVM) ([3-9])\.([0-9]+)/) {
+if (!$addx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|.*based on LLVM) ([3-9])\.([0-9]+)/) {
my $ver = $2 + $3/100.0; # 3.1->3.01, 3.10->3.10
$avx = ($ver>=3.0) + ($ver>=3.01);
$addx = ($ver>=3.03);
OpenPOWER on IntegriCloud