From 421fb3b504cfe18033c49a40fcd46bab45a0fb50 Mon Sep 17 00:00:00 2001 From: xdu2 Date: Fri, 28 Oct 2011 14:35:01 +0000 Subject: 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 --- CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CryptoPkg/Library/BaseCryptLib') 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; } -- cgit v1.2.3