diff options
Diffstat (limited to 'crypto/objects/objxref.pl')
-rw-r--r-- | crypto/objects/objxref.pl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/crypto/objects/objxref.pl b/crypto/objects/objxref.pl index 4a42924c56..3fa584036e 100644 --- a/crypto/objects/objxref.pl +++ b/crypto/objects/objxref.pl @@ -1,6 +1,13 @@ #!/usr/local/bin/perl -open IN, "obj_mac.num"; +use strict; + +my %xref_tbl; +my %oid_tbl; + +my ($mac_file, $xref_file) = @ARGV; + +open(IN, $mac_file) || die "Can't open $mac_file"; # Read in OID nid values for a lookup table. @@ -12,7 +19,7 @@ while (<IN>) } close IN; -open IN, "obj_xref.txt"; +open(IN, $xref_file) || die "Can't open $xref_file"; my $ln = 1; |