luks: Correct condition for calling handle_encrypted()
Use CONFIG_BLK_LUKS instead of CONFIG_LUKS, which does not exist. This allows the test to pass. Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -903,7 +903,7 @@ static int logic_poll(struct udevice *dev)
|
|||||||
return log_msg_ret("gos", -ENOENT);
|
return log_msg_ret("gos", -ENOENT);
|
||||||
|
|
||||||
/* If encrypted, handle pass entry and unlock */
|
/* If encrypted, handle pass entry and unlock */
|
||||||
if (IS_ENABLED(CONFIG_LUKS) &&
|
if (IS_ENABLED(CONFIG_BLK_LUKS) &&
|
||||||
(os->bflow.flags & BOOTFLOWF_ENCRYPTED)) {
|
(os->bflow.flags & BOOTFLOWF_ENCRYPTED)) {
|
||||||
ret = handle_encrypted(dev, os, seq);
|
ret = handle_encrypted(dev, os, seq);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
|||||||
Reference in New Issue
Block a user