From 1a0bd776b2aa327cbdbf9dc04419abad819bcd0e Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Wed, 4 Sep 2024 11:42:43 +0200 Subject: [PATCH] Use MbedTLSConfig for config handling to keep campatibility Signed-off-by: Gabor Mezei --- scripts/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/config.py b/scripts/config.py index 4a52d7de8d..cd943f5580 100755 --- a/scripts/config.py +++ b/scripts/config.py @@ -3,7 +3,7 @@ """Mbed TLS and PSA configuration file manipulation library and tool Basic usage, to read the Mbed TLS configuration: - config = CombinedConfigFile() + config = MbedTLSConfig() if 'MBEDTLS_RSA_C' in config: print('RSA is enabled') """ @@ -448,8 +448,7 @@ class MbedTLSConfigTool(config_common.ConfigTool): def __init__(self): super().__init__(MbedTLSConfigFile.default_path) - self.config = CombinedConfig(MbedTLSConfigFile(self.args.file), - CryptoConfigFile(self.args.cryptofile)) + self.config = MbedTLSConfig(self.args.file) def custom_parser_options(self): """Adds MbedTLS specific options for the parser."""