Remove sanity check for None value

Signed-off-by: Gabor Mezei <[email protected]>
This commit is contained in:
Gabor Mezei
2024-07-25 11:00:20 +02:00
parent 4706fe7f03
commit 91f1746f35
-4
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 + ' '))