From: Andy Polyakov Date: Sun, 22 Apr 2012 21:18:30 +0000 (+0000) Subject: objxref.pl: improve portability. X-Git-Tag: master-post-reformat~1846 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=71fa3bc5ece9121d1aa9bb513b5641e9ea605e14;ds=sidebyside objxref.pl: improve portability. --- diff --git a/crypto/objects/objxref.pl b/crypto/objects/objxref.pl index 731d3ae22c..94b9bc133f 100644 --- a/crypto/objects/objxref.pl +++ b/crypto/objects/objxref.pl @@ -39,7 +39,8 @@ my @xrkeys = keys %xref_tbl; my @srt1 = sort { $oid_tbl{$a} <=> $oid_tbl{$b}} @xrkeys; -for(my $i = 0; $i <= $#srt1; $i++) +my $i; +for($i = 0; $i <= $#srt1; $i++) { $xref_tbl{$srt1[$i]}[2] = $i; }