Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <br...@cran.org.uk>
---
 SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c 
b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
index 566c5e2..885b916 100644
--- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
+++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
@@ -949,7 +949,7 @@ CheckSignatureListFormat(
           (SigList->SignatureSize - sizeof (EFI_GUID)) != 
mSupportSigItem[Index].SigDataSize) {
           return EFI_INVALID_PARAMETER;
         }
-        if (mSupportSigItem[Index].SigHeaderSize != ((UINTN) ~0) &&
+        if (mSupportSigItem[Index].SigHeaderSize != ((UINT32) ~0) &&
           SigList->SignatureHeaderSize != 
mSupportSigItem[Index].SigHeaderSize) {
           return EFI_INVALID_PARAMETER;
         }
-- 
2.4.5


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to