summaryrefslogtreecommitdiffstats
path: root/crypto/objects/objects.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-19 18:01:12 +0100
committerDr. Stephen Henson <steve@openssl.org>2008-03-19 18:01:12 +0100
commit16fe5f8b506e92d8d23f76d07baf5bb298edf85a (patch)
treedfd4758c50fba1e015ccd687e81fc997c3a2a143 /crypto/objects/objects.pl
parentAdditional sanity check. (diff)
downloadopenssl-16fe5f8b506e92d8d23f76d07baf5bb298edf85a.tar.xz
openssl-16fe5f8b506e92d8d23f76d07baf5bb298edf85a.zip
Produce meaningful error if sanity check fails.
Delete trailing whitespace from objects.txt Delete duplicate NIDs.
Diffstat (limited to 'crypto/objects/objects.pl')
-rw-r--r--crypto/objects/objects.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl
index 9bb26e2909..15c00bbd52 100644
--- a/crypto/objects/objects.pl
+++ b/crypto/objects/objects.pl
@@ -15,7 +15,7 @@ while(<NUMIN>)
if (defined($nidn{$mynum}))
{ die "$ARGV[1]:$o:There's already an object with NID ",$mynum," on line ",$order{$mynum},"\n"; }
if (defined($nid{$Cname}))
- { die "$ARGV[1]:$o:There's already an object with name ",$mynum," on line ",$order{$nid{$Cname}},"\n"; }
+ { die "$ARGV[1]:$o:There's already an object with name ",$Cname," on line ",$order{$nid{$Cname}},"\n"; }
$nid{$Cname} = $mynum;
$nidn{$mynum} = $Cname;
$order{$mynum} = $o;
@@ -104,6 +104,7 @@ while (<IN>)
$max_nid++;
$nid{$Cname} = $max_nid;
$nidn{$max_nid} = $Cname;
+print STDERR "Added OID $Cname\n";
}
$Cname="";
}