diff options
author | Andy Polyakov <appro@openssl.org> | 2012-04-22 21:18:30 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-02-01 22:17:36 +0100 |
commit | b6c202993180905efa411fcdca221c17d8862c6b (patch) | |
tree | 7261b3a5d95a47ab13060f82f6d1eb50f37ba7be /crypto/objects | |
parent | 45d010255fc19cce5fd7d509d27c499da06bdd17 (diff) |
objxref.pl: improve portability.
(cherry picked from commit 71fa3bc5ece9121d1aa9bb513b5641e9ea605e14)
Diffstat (limited to 'crypto/objects')
-rw-r--r-- | crypto/objects/objxref.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |