From 0fa9ed41ac8201249db69e3609f65b9c76ff5eaa Mon Sep 17 00:00:00 2001 From: Tianjia Zhang Date: Wed, 13 May 2020 16:53:41 +0800 Subject: [PATCH] verifiers: Add verify string debug message Like grub_verifiers_open(), the grub_verify_string() should also display this debug message, which is very helpful for debugging. Signed-off-by: Tianjia Zhang Reviewed-by: Daniel Kiper --- grub-core/commands/verifiers.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grub-core/commands/verifiers.c b/grub-core/commands/verifiers.c index 7b9297cd3..aae4d84bb 100644 --- a/grub-core/commands/verifiers.c +++ b/grub-core/commands/verifiers.c @@ -208,6 +208,9 @@ grub_err_t grub_verify_string (char *str, enum grub_verify_string_type type) { struct grub_file_verifier *ver; + + grub_dprintf ("verify", "string: %s, type: %d\n", str, type); + FOR_LIST_ELEMENTS(ver, grub_file_verifiers) { grub_err_t err;