aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/asn1enum.pl
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/asn1enum.pl')
-rwxr-xr-xasn1/asn1enum.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/asn1enum.pl b/asn1/asn1enum.pl
index 8584e84..beac35f 100755
--- a/asn1/asn1enum.pl
+++ b/asn1/asn1enum.pl
@@ -22,7 +22,7 @@ foreach my $k (keys %h) {
next;
}
printf("%s ::= INTEGER {\n", $k);
- foreach my $r (sort { $a <=> $b } keys $h{$k}) {
+ foreach my $r (sort { $a <=> $b } keys %{$h{$k}}) {
printf("\t%s(%d),\n", $h{$k}{$r}, $r);
}
printf("}\n");