mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 14:50:17 +08:00
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:
parent
5cd633798c
commit
e67a987c63
3
ChangeLog.d/fix-x509-check-features.txt
Normal file
3
ChangeLog.d/fix-x509-check-features.txt
Normal 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.
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user