Fix generate_features.pl for X.509 section

Commit 9d51a54ba2 ("Updates generate_features.pl for new sections.")
added the X.509 section to the filter but the regex does not support the
dot character.

Signed-off-by: Mathis Marion <mathis.marion@silabs.com>
This commit is contained in:
Mathis Marion 2026-06-15 11:07:43 +02:00
parent 5cd633798c
commit e67a987c63
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
Bugfix
* Fix a `mbedtls_version_check_features()` regression which caused all
features under the X.509 configuration section to be considered disabled.

View File

@ -65,7 +65,7 @@ while (my $line = <CONFIG_H>)
}
if (!$in_section) {
my ($section_name) = $line =~ /SECTION: ([\w ]+)/;
my ($section_name) = $line =~ /SECTION: ([\w .]+)/;
my $found_section = grep $_ eq $section_name, @sections;
$in_section = 1 if ($found_section);