md5-x86_64.pl: work around warning.
authorAndy Polyakov <appro@openssl.org>
Sat, 30 Aug 2014 17:17:09 +0000 (19:17 +0200)
committerAndy Polyakov <appro@openssl.org>
Sat, 30 Aug 2014 17:19:47 +0000 (19:19 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 4d86e8df6be69ed13abb73fd564f1f894eea0a98)

crypto/md5/asm/md5-x86_64.pl

index f11224d17220123fbc2d7a632b7833ea17745d25..381bf77e1c6bbd50adba503580f8a76fb22c895f 100755 (executable)
@@ -108,6 +108,7 @@ sub round4_step
 EOF
 }
 
+no warnings qw(uninitialized);
 my $flavour = shift;
 my $output  = shift;
 if ($flavour =~ /\./) { $output = $flavour; undef $flavour; }
@@ -119,7 +120,6 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; my $dir=$1; my $xlate;
 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or
 die "can't locate x86_64-xlate.pl";
 
-no warnings qw(uninitialized);
 open OUT,"| \"$^X\" $xlate $flavour $output";
 *STDOUT=*OUT;