Do include asn1.h in error.c

When generate_errors.pl was first written, there was no asn1.h. But
now there is one and it does not need any special treatment.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-05-25 12:23:11 +02:00
parent 5241f85bbd
commit efdce2df0d

View file

@ -101,7 +101,6 @@ foreach my $line (@matches)
my $include_name = $module_name; my $include_name = $module_name;
$include_name =~ tr/A-Z/a-z/; $include_name =~ tr/A-Z/a-z/;
$include_name = "" if ($include_name eq "asn1");
# Fix faulty ones # Fix faulty ones
$include_name = "net_sockets" if ($module_name eq "NET"); $include_name = "net_sockets" if ($module_name eq "NET");