mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 14:50:17 +08:00
Merge e67a987c6311ac94052bd94332326b7eef68f3f9 into 03e1438089654fb884ac48e0f3cd0049cfe2c102
This commit is contained in:
commit
15f7f15cf6
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