summaryrefslogtreecommitdiff
path: root/Cryptlib/Pk/CryptAuthenticode.c
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2014-08-19 14:20:23 -0400
committerPeter Jones <pjones@redhat.com>2014-08-19 14:20:23 -0400
commit5cbe75a3facfe8256454595ca3abbff7ad6076b0 (patch)
treec7028a2687dcc1ce83f2b3bfdf25d0a3f9af7aa1 /Cryptlib/Pk/CryptAuthenticode.c
parent221faac51bc430c0bac3b26ff65b75ab6f24da58 (diff)
downloadefi-boot-shim-5cbe75a3facfe8256454595ca3abbff7ad6076b0.tar.gz
efi-boot-shim-5cbe75a3facfe8256454595ca3abbff7ad6076b0.zip
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
Diffstat (limited to 'Cryptlib/Pk/CryptAuthenticode.c')
-rw-r--r--Cryptlib/Pk/CryptAuthenticode.c4
1 files changed, 2 insertions, 2 deletions
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;
//