UBUNTU: SAUCE: Dump stack when X.509 certificates cannot be loaded
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
7170d7853f
commit
8ff05c5f68
@@ -41,6 +41,7 @@ int x509_load_certificate_list(const u8 cert_list[],
|
||||
if (IS_ERR(key)) {
|
||||
pr_err("Problem loading in-kernel X.509 certificate (%ld)\n",
|
||||
PTR_ERR(key));
|
||||
WARN_ON_ONCE(1);
|
||||
} else {
|
||||
pr_notice("Loaded X.509 cert '%s'\n",
|
||||
key_ref_to_ptr(key)->description);
|
||||
|
||||
Reference in New Issue
Block a user