Get conditional priorities right
authorRichard Levitte <levitte@openssl.org>
Wed, 17 Feb 2016 21:23:09 +0000 (22:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 17 Feb 2016 21:23:09 +0000 (22:23 +0100)
"or" has lower priority than "||" and works better to have Perl less
confused.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure

index f8a1bdaab593fecfe0c532440b826a567f103800..688735b3198428dde1c299ed38773593876c3559 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1053,7 +1053,7 @@ if (!$no_asm) {
     $target{cpuid_asm_src}=$table{BASE}->{cpuid_asm_src} if ($config{processor} eq "386");
     $target{cpuid_asm_src}.=" uplink.c uplink-x86.s"
         if (grep { $_ eq "OPENSSL_USE_APPLINK"} @{$config{defines}}
-            || $config{cflags} =~ /(?:^|\s)-DOPENSSL_USE_APPLINK(?:\s|$)/);
+            or $config{cflags} =~ /(?:^|\s)-DOPENSSL_USE_APPLINK(?:\s|$)/);
 
     $target{bn_asm_src} =~ s/\w+-gf2m.c// if (defined($disabled{ec2m}));