mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Additional sanity check.
This commit is contained in:
parent
ab12438030
commit
041e7f2eee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user