]> git.ipfire.org Git - thirdparty/grub.git/commit
asn1_test: Print the error messages with grub_printf()
authorGary Lin <glin@suse.com>
Fri, 15 Nov 2024 07:34:41 +0000 (15:34 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 28 Nov 2024 20:50:54 +0000 (21:50 +0100)
commit0d0913fc61437710028ae06e53ee159ced06c802
tree01fcef761ee19c5b37b77e077f7b10af193aab7b
parent2e93a8e4bd73eb9647331550a306f66ec01a6102
asn1_test: Print the error messages with grub_printf()

This commit replaces printf() and fprintf() with grub_printf() to print
the error messages for the testcases. Besides, asn1_strerror() is used
to convert the result code to strings instead of asn1_perror().

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
grub-core/lib/libtasn1-patches/0011-asn1_test-print-the-error-messages-with-grub_printf.patch [new file with mode: 0644]