diff options
| author | steve <steve> | 2008-03-19 14:18:36 +0000 |
|---|---|---|
| committer | steve <steve> | 2008-03-19 14:18:36 +0000 |
| commit | 23b4d62359507943976ec0a0dd908750bba2a2e5 (patch) | |
| tree | 69356b99341e39e8c675033c4459d4ad7931c377 /crypto/objects/objects.pl | |
| parent | 3307ce93aa5b239c0dd88f5b6512169c5a3f7111 (diff) | |
| download | openssl-23b4d62359507943976ec0a0dd908750bba2a2e5.tar.gz | |
Additional sanity check.
Diffstat (limited to 'crypto/objects/objects.pl')
| -rw-r--r-- | crypto/objects/objects.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl index 76c06cc8f..9bb26e290 100644 --- a/crypto/objects/objects.pl +++ b/crypto/objects/objects.pl @@ -14,6 +14,8 @@ while(<NUMIN>) $Cname =~ s/^X//; 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"; } $nid{$Cname} = $mynum; $nidn{$mynum} = $Cname; $order{$mynum} = $o; |
