X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SecurityPkg%2FVariableAuthenticated%2FSecureBootConfigDxe%2FSecureBootConfigImpl.c;h=c80c5eaface3db49074488dd48bf5e4aad7fcf8d;hp=63dffd76bcd1237307b8117d0b890bea9fd7e7d5;hb=4adc12bfc30e59c4592c0351e0d9d1a07ed0e357;hpb=a50f7c4c0985f1659d4b24e94f6d3aee9f6922dd diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 63dffd76bc..c80c5eafac 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -278,7 +278,7 @@ CreatePkX509SignatureList ( PkCertData = NULL; X509DataSize = 0; - Status = ReadFileContent (X509File, &X509Data, &X509DataSize, 0); + Status = ReadFileContent (X509File, (VOID**) &X509Data, &X509DataSize, 0); if (EFI_ERROR (Status)) { goto ON_EXIT; } @@ -483,7 +483,7 @@ EnrollRsa2048ToKek ( // Status = ReadFileContent ( Private->FileContext->FHandle, - &KeyBlob, + (VOID**) &KeyBlob, &KeyBlobSize, 0 );