diff --git a/Makefile b/Makefile index 5da82e1..cb8fe81 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 13 +VERSION = 12 ifneq ($(origin RELEASE),undefined) DASHRELEASE ?= -$(RELEASE) else @@ -167,6 +167,7 @@ shim.crt: shim.cer: shim.crt $(OPENSSL) x509 -outform der -in $< -out $@ +.NOTPARALLEL: shim_cert.h shim_cert.h: shim.cer echo "static UINT8 shim_cert[] = {" > $@ $(HEXDUMP) -v -e '1/1 "0x%02x, "' $< >> $@ @@ -332,7 +333,7 @@ clean: $(MAKE) -C Cryptlib -f $(TOPDIR)/Cryptlib/Makefile clean $(MAKE) -C Cryptlib/OpenSSL -f $(TOPDIR)/Cryptlib/OpenSSL/Makefile clean $(MAKE) -C lib -f $(TOPDIR)/lib/Makefile clean - rm -rf $(TARGET) $(OBJS) $(MOK_OBJS) $(FALLBACK_OBJS) $(KEYS) certdb + rm -rf $(TARGET) $(OBJS) $(MOK_OBJS) $(FALLBACK_OBJS) $(KEYS) certdb $(BOOTCSVNAME) rm -f *.debug *.so *.efi *.tar.* version.c GITTAG = $(VERSION) diff --git a/commit b/commit index de8e64a..ddf0de8 100644 --- a/commit +++ b/commit @@ -1 +1 @@ -9c1c35c588d5d2aaba60aa33287d4dfae5d0f4c1 \ No newline at end of file +35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868 \ No newline at end of file diff --git a/errlog.c b/errlog.c index 34351fc..fd78933 100644 --- a/errlog.c +++ b/errlog.c @@ -68,6 +68,9 @@ PrintErrors(VOID) { UINTN i; + if (!verbose) + return; + for (i = 0; i < nerrs; i++) Print(L"%s", errs[i]); } diff --git a/lib/console.c b/lib/console.c index 5e4035e..cd8d1de 100644 --- a/lib/console.c +++ b/lib/console.c @@ -312,8 +312,7 @@ console_errorbox(CHAR16 *err) err_arr[2] = err; - //console_alertbox(err_arr); - Print(L"%s\n", err_arr[2]); + console_alertbox(err_arr); } void @@ -326,8 +325,7 @@ console_notify(CHAR16 *string) str_arr[0] = string; - //console_alertbox(str_arr); - Print(L"%s\n", str_arr[0]); + console_alertbox(str_arr); } #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) @@ -406,8 +404,7 @@ console_error(CHAR16 *err, EFI_STATUS status) err_arr[2] = str; - //console_alertbox(err_arr); - Print(L"%s\n", err_arr[2]); + console_alertbox(err_arr); } void diff --git a/shim.c b/shim.c index c193eb4..c6ad2cd 100644 --- a/shim.c +++ b/shim.c @@ -950,7 +950,7 @@ static EFI_STATUS generate_hash (char *data, unsigned int datasize_in, SumOfBytesHashed += hashsize; } -#if 0 +#if 0 // we have to migrate to doing this later :/ /* Hash all remaining data */ if (datasize > SumOfBytesHashed) { hashbase = data + SumOfBytesHashed;