On Dec 21, 2015 9:02 PM, "Samer El-Haj-Mahmoud" <
samer.el-haj-mahm...@hpe.com> wrote:
>
> Add DEBUG messages in DxeImageerificationLib to help debug
> Secure Boot image verification failures
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Samer El-Haj-Mahmoud <el...@hpe.com>
> ---
>  .../Library/DxeImageVerificationLib/DxeImageVerificationLib.c    | 9
+++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git
a/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
b/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
> index 4b4d3bf..888cd04 100644
> ---
a/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
> +++
b/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
> @@ -13,6 +13,7 @@
>    untrusted PE/COFF image and validate its data structure within this
image buffer before use.
>
>  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
> +(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
>  This program and the accompanying materials
>  are licensed and made available under the terms and conditions of the
BSD License
>  which accompanies this distribution.  The full text of the license may
be found at
> @@ -2259,6 +2260,7 @@ DxeImageVerificationHandler (
>      //
>      // The information can't be got from the invalid PeImage
>      //
> +    DEBUG ((DEBUG_ERROR, "PeImage invald. Cannot retrieve image
information.\n"));

s/invald/invalid/

Paulo

--
Paulo Alcantara, HP Inc.
Speaking for myself only.
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to