summaryrefslogtreecommitdiff
path: root/shim.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@canonical.com>2013-07-03 22:48:01 +0000
committerSteve Langasek <steve.langasek@canonical.com>2013-07-03 22:48:01 +0000
commit44ecc6a350e738a0a8bcd727b3990ce9dadd527f (patch)
tree4c8e06ffef75e74c569e2dc7c3a31dc96fa626d8 /shim.c
parent0c50644a00803821ff960506b42490e1a2cff3b0 (diff)
downloadefi-boot-shim-44ecc6a350e738a0a8bcd727b3990ce9dadd527f.tar.gz
efi-boot-shim-44ecc6a350e738a0a8bcd727b3990ce9dadd527f.zip
debian/patches/no-output-by-default.patch: Don't print any
informational messages. Closes LP: #1074302.
Diffstat (limited to 'shim.c')
-rw-r--r--shim.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/shim.c b/shim.c
index ef688bb2..8ce2b318 100644
--- a/shim.c
+++ b/shim.c
@@ -430,7 +430,6 @@ static BOOLEAN secure_mode (void)
/* FIXME - more paranoia here? */
if (status != EFI_SUCCESS || sb != 1) {
- Print(L"Secure boot not enabled\n");
return FALSE;
}
@@ -438,7 +437,6 @@ static BOOLEAN secure_mode (void)
(void *)&setupmode);
if (status == EFI_SUCCESS && setupmode == 1) {
- Print(L"Platform is in setup mode\n");
return FALSE;
}
@@ -698,7 +696,6 @@ static EFI_STATUS verify_buffer (char *data, int datasize,
status = check_whitelist(cert, sha256hash, sha1hash);
if (status == EFI_SUCCESS) {
- Print(L"Binary is whitelisted\n");
return status;
}
@@ -710,7 +707,6 @@ static EFI_STATUS verify_buffer (char *data, int datasize,
shim_cert, sizeof(shim_cert), sha256hash,
SHA256_DIGEST_SIZE)) {
status = EFI_SUCCESS;
- Print(L"Binary is verified by the vendor certificate\n");
return status;
}
@@ -723,7 +719,6 @@ static EFI_STATUS verify_buffer (char *data, int datasize,
vendor_cert, vendor_cert_size, sha256hash,
SHA256_DIGEST_SIZE)) {
status = EFI_SUCCESS;
- Print(L"Binary is verified by the vendor certificate\n");
return status;
}