mirror of https://github.com/acidanthera/audk.git
1. Fix GCC build failure in SecurityPkg.
Signed-off-by: sfu5 Reviewed-by: gdong1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13146 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a50f7c4c09
commit
4adc12bfc3
|
@ -278,7 +278,7 @@ CreatePkX509SignatureList (
|
||||||
PkCertData = NULL;
|
PkCertData = NULL;
|
||||||
X509DataSize = 0;
|
X509DataSize = 0;
|
||||||
|
|
||||||
Status = ReadFileContent (X509File, &X509Data, &X509DataSize, 0);
|
Status = ReadFileContent (X509File, (VOID**) &X509Data, &X509DataSize, 0);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
goto ON_EXIT;
|
goto ON_EXIT;
|
||||||
}
|
}
|
||||||
|
@ -483,7 +483,7 @@ EnrollRsa2048ToKek (
|
||||||
//
|
//
|
||||||
Status = ReadFileContent (
|
Status = ReadFileContent (
|
||||||
Private->FileContext->FHandle,
|
Private->FileContext->FHandle,
|
||||||
&KeyBlob,
|
(VOID**) &KeyBlob,
|
||||||
&KeyBlobSize,
|
&KeyBlobSize,
|
||||||
0
|
0
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue