aboutsummaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/objects/objxref.pl
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/crypto/objects/objxref.pl')
-rw-r--r--deps/openssl/openssl/crypto/objects/objxref.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/openssl/openssl/crypto/objects/objxref.pl b/deps/openssl/openssl/crypto/objects/objxref.pl
index 35c06514b9..1913b9d133 100644
--- a/deps/openssl/openssl/crypto/objects/objxref.pl
+++ b/deps/openssl/openssl/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;
}