diff options
author | Andy Polyakov <appro@openssl.org> | 2012-04-22 21:19:41 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-04-22 21:19:41 +0000 |
commit | 8e7ccf6ff7706869c16048833024b8c0997f743f (patch) | |
tree | 2b0bdf14a7a6a587d11c4eff541481baf57fa7ae /crypto/objects | |
parent | 51b77c0337bd22ce391f339bd376788dc4e9a4ad (diff) |
objxref.pl: improve portability [from HEAD].
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; } |