diff options
author | James Bottomley <JBottomley@Parallels.com> | 2012-12-06 10:26:23 +0000 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-12-06 10:54:56 +0000 |
commit | a47f1575568a759b5a92c1ecf9b0a146652eb2c0 (patch) | |
tree | 4c5142f2ee94bd8e1258d83c84101c9da2f64f8c | |
parent | b826c7730f414152a719984d1b322c8395e4fc0c (diff) | |
download | efitools-a47f1575568a759b5a92c1ecf9b0a146652eb2c0.tar.gz |
security_policy: remove debugging
-rw-r--r-- | lib/execute.c | 3 | ||||
-rw-r--r-- | lib/security_policy.c | 8 | ||||
-rw-r--r-- | lib/variables.c | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/lib/execute.c b/lib/execute.c index b2c9aff..99f5fef 100644 --- a/lib/execute.c +++ b/lib/execute.c @@ -153,9 +153,6 @@ execute(EFI_HANDLE image, CHAR16 *name) if (status != EFI_SUCCESS) return status; - Print(L"Generated path is %s\n", PathName); - console_get_keystroke(); - status = uefi_call_wrapper(BS->LoadImage, 6, FALSE, image, devpath, NULL, 0, &h); if (status != EFI_SUCCESS) diff --git a/lib/security_policy.c b/lib/security_policy.c index 3247628..64110fc 100644 --- a/lib/security_policy.c +++ b/lib/security_policy.c @@ -134,9 +134,6 @@ static UINT64 security_policy_authentication ( status = security_policy_check_mok(FileBuffer, FileSize); - Print(L"IN SECURITY VALIDATION MOK on %lx,%lx,%lx,%ld) returns %d\n", This,DevicePath,FileBuffer,FileSize, status); - console_get_keystroke(); - if (status == EFI_SUCCESS) return status; @@ -144,9 +141,6 @@ static UINT64 security_policy_authentication ( status = uefi_call_wrapper(es2fa, 5, This, DevicePath, FileBuffer, FileSize, BootPolicy); - Print(L"Previous Security Policy returns %d\n", status); - console_get_keystroke(); - return status; } @@ -166,8 +160,6 @@ security_policy_install(void) if (status != EFI_SUCCESS) return status; - Print(L"SECURITY2 PROTOCOL returns %lx, new func is %lx\n", security2_protocol, security_policy_authentication); - es2fa = security2_protocol->FileAuthentication; security2_protocol->FileAuthentication = (EFI_SECURITY2_FILE_AUTHENTICATION)security_policy_authentication; diff --git a/lib/variables.c b/lib/variables.c index 9d7d0ed..e662fde 100644 --- a/lib/variables.c +++ b/lib/variables.c @@ -259,8 +259,6 @@ find_in_esl(UINT8 *Data, UINTN DataSize, UINT8 *key, UINTN keylen) { EFI_SIGNATURE_LIST *CertList; - Print(L"FIND IN ESL %lx[%d]\n", Data, DataSize); - for (CertList = (EFI_SIGNATURE_LIST *) Data; DataSize > 0 && DataSize >= CertList->SignatureListSize; |