projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab12438
)
Additional sanity check.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 19 Mar 2008 14:18:36 +0000
(14:18 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 19 Mar 2008 14:18:36 +0000
(14:18 +0000)
crypto/objects/objects.pl
patch
|
blob
|
history
diff --git
a/crypto/objects/objects.pl
b/crypto/objects/objects.pl
index 76c06cc8f9a295e9188176a4c3a50611e7db54ee..9bb26e2909f28464b45b3df759a092bd71df38fe 100644
(file)
--- 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;