X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;ds=sidebyside;f=crypto%2Fobjects%2Fobjects.pl;h=76c06cc8f9a295e9188176a4c3a50611e7db54ee;hb=4825092bbe7e23e26769f0cadba70fe508b8a047;hp=3a1da4919d60296897ff80a36eb74c1a7b6e64fe;hpb=bbd79bdf03622248f85469861e4de528db4228c0;p=openssl.git diff --git a/crypto/objects/objects.pl b/crypto/objects/objects.pl index 3a1da4919d..76c06cc8f9 100644 --- a/crypto/objects/objects.pl +++ b/crypto/objects/objects.pl @@ -210,6 +210,8 @@ sub process_oid if (!($a[0] =~ /^[0-9]+$/)) { $a[0] =~ s/-/_/g; + if (!defined($obj{$a[0]})) + { die "$ARGV[0]:$o:Undefined identifier ",$a[0],"\n"; } $pref_oid = "OBJ_" . $a[0]; $pref_sep = ","; shift @a;