Commit 119610d9 authored by Tim Gardner's avatar Tim Gardner

UBUNTU: SAUCE: Dump stack when X.509 certificates cannot be loaded

Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 2083e131
......@@ -88,6 +88,7 @@ static __init int load_system_certificate_list(void)
if (IS_ERR(key)) {
pr_err("Problem loading in-kernel X.509 certificate (%ld)\n",
PTR_ERR(key));
WARN_ON_ONCE(1);
} else {
set_bit(KEY_FLAG_BUILTIN, &key_ref_to_ptr(key)->flags);
pr_notice("Loaded X.509 cert '%s'\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment