aboutsummaryrefslogtreecommitdiff
path: root/libstb
diff options
context:
space:
mode:
Diffstat (limited to 'libstb')
-rw-r--r--libstb/secureboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstb/secureboot.c b/libstb/secureboot.c
index 94be24b..921aba7 100644
--- a/libstb/secureboot.c
+++ b/libstb/secureboot.c
@@ -183,6 +183,7 @@ int secureboot_verify(enum resource_id id, void *buf, size_t len)
if (!secure_init) {
prlog(PR_WARNING, "container NOT VERIFIED, resource_id=%d "
"secureboot not yet initialized\n", id);
+ secureboot_enforce();
return -1;
}