1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Remove sanity check for None value

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2024-07-17 12:11:00 +02:00
parent 4706fe7f03
commit 91f1746f35

View File

@ -639,10 +639,6 @@ class CryptoConfig(Config):
if name in PSA_UNSTABLE_FEATURE:
raise ValueError(f'Feature is unstable: \'{name}\'')
# If value is set to None correct it
if not value:
value = '1'
if name not in self.settings:
self.configfile.templates.append((name, '', '#define ' + name + ' '))