util/mkerr.pl: don't stop reading conserved symbols from the state file

If we don't read them, they will not be conserved.

Fixes #10522

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10549)
This commit is contained in:
Richard Levitte 2019-12-01 09:14:48 +01:00
parent 278de77b88
commit dc5d74e648
1 changed files with 0 additions and 6 deletions

View File

@ -210,12 +210,6 @@ if ( ! $reindex && $statefile ) {
print "Skipping $_";
$skippedstate++;
next;
} elsif ( $hinc{$lib} eq 'NONE' ) {
# When the header is NONE but the err file is specified,
# it signifies that the err file should be conserved but
# remain untouched, and the same goes for the symbols in
# the state file.
next;
}
if ( $name =~ /^(?:OSSL_|OPENSSL_)?[A-Z0-9]{2,}_R_/ ) {
die "$lib reason code $code collision at $name\n"