summaryrefslogtreecommitdiffstats
path: root/CryptoPkg
diff options
context:
space:
mode:
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-28 14:35:01 +0000
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-28 14:35:01 +0000
commit421fb3b504cfe18033c49a40fcd46bab45a0fb50 (patch)
tree817d04debd5756ef5aa043d7b4548e7c76eb9abe /CryptoPkg
parent306bbe82cb0bae51db9b4ee0a891fd97660be769 (diff)
downloadedk2-421fb3b504cfe18033c49a40fcd46bab45a0fb50.tar.gz
edk2-421fb3b504cfe18033c49a40fcd46bab45a0fb50.tar.bz2
edk2-421fb3b504cfe18033c49a40fcd46bab45a0fb50.zip
CryptoPkg: Fix GCC build break for BaseCryptLib.
Signed-off-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12601 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c
index 433175bbf1..c00d3bb033 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c
@@ -408,7 +408,7 @@ Pkcs7Verify (
}
Temp = SignedData;
- Pkcs7 = d2i_PKCS7 (NULL, &Temp, (int) SignedDataSize);
+ Pkcs7 = d2i_PKCS7 (NULL, (const unsigned char **) &Temp, (int) SignedDataSize);
if (Pkcs7 == NULL) {
goto _Exit;
}