From 21f96e586351fc8b535353f2dea7c784e931d14a Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin Date: Tue, 19 Aug 2014 12:15:00 +0800 Subject: Update openssl to 0.9.8zb Also update to Tiano Cryptlib r15802 and remove the execute mode bits from the C and header files of openssl --- Cryptlib/Pk/CryptAuthenticode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cryptlib/Pk/CryptAuthenticode.c') diff --git a/Cryptlib/Pk/CryptAuthenticode.c b/Cryptlib/Pk/CryptAuthenticode.c index bb5f6d4b..7b8bca53 100644 --- a/Cryptlib/Pk/CryptAuthenticode.c +++ b/Cryptlib/Pk/CryptAuthenticode.c @@ -146,8 +146,8 @@ AuthenticodeVerify ( // // Long Form of Length Encoding, only support two bytes. // - ContentSize = (UINTN) (*(SpcIndirectDataContent + 2)); - ContentSize = (ContentSize << 8) + (UINTN)(*(SpcIndirectDataContent + 3)); + ContentSize = (UINTN) (*(UINT8 *)(SpcIndirectDataContent + 2)); + ContentSize = (ContentSize << 8) + (UINTN)(*(UINT8 *)(SpcIndirectDataContent + 3)); // // Skip the SEQUENCE Tag; // -- cgit v1.2.3