X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fobjects%2Fobjxref.pl;h=833f4ab8829037ab2305935a4f9bd00cffbcfea1;hp=94b9bc133f684dd90b246c6cff12eea5bf6e3f15;hb=e6b336efa31c9916bd64504a478d56532f86d6aa;hpb=71fa3bc5ece9121d1aa9bb513b5641e9ea605e14 diff --git a/crypto/objects/objxref.pl b/crypto/objects/objxref.pl index 94b9bc133f..833f4ab882 100644 --- a/crypto/objects/objxref.pl +++ b/crypto/objects/objxref.pl @@ -91,7 +91,10 @@ EOF foreach (@srt2) { - my $x = $xref_tbl{$_}[2]; + my ($p1, $p2, $x) = @{$xref_tbl{$_}}; + # If digest or signature algorithm is "undef" then the algorithm + # needs special handling and is excluded from the cross reference table. + next if $p1 eq "undef" || $p2 eq "undef"; print "\t\&sigoid_srt\[$x\],\n"; }