diff options
-rw-r--r-- | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c | 4 |
1 files changed, 2 insertions, 2 deletions
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
);
|