Fix the bug in the verdict description for ComplexOptCheck
authorAlexander Popov <alex.popov@linux.com>
Wed, 20 Apr 2022 16:25:16 +0000 (19:25 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 20 Apr 2022 16:36:42 +0000 (19:36 +0300)
commit228f9e2b51f645266a70d86b215e9899f3bdeb9b
treef7d8210eab6d3374a373292320da792ac92acf4e
parente98c458bd568f5aee10654d683e2da034dc2d544
Fix the bug in the verdict description for ComplexOptCheck

Before the fix:
CONFIG_EFI_DISABLE_PCI_DMA | kconfig | y | clipos | self_protection | OK: not found

After the fix:
CONFIG_EFI_DISABLE_PCI_DMA | kconfig | y | clipos | self_protection | OK: CONFIG_EFI not found

Also added the assertions preventing similar bugs in future.
kconfig_hardened_check/__init__.py