projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d0102
)
objxref.pl: improve portability.
author
Andy Polyakov
<appro@openssl.org>
Sun, 22 Apr 2012 21:18:30 +0000
(21:18 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 1 Feb 2014 21:17:36 +0000
(22:17 +0100)
(cherry picked from commit
71fa3bc5ece9121d1aa9bb513b5641e9ea605e14
)
crypto/objects/objxref.pl
patch
|
blob
|
history
diff --git
a/crypto/objects/objxref.pl
b/crypto/objects/objxref.pl
index 731d3ae22c2745928648f0602ba2732c292a9b7e..94b9bc133f684dd90b246c6cff12eea5bf6e3f15 100644
(file)
--- 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;
}