summaryrefslogtreecommitdiff
path: root/Cryptlib/Pk/CryptAuthenticode.c
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2014-08-19 12:15:00 +0800
committerPeter Jones <pjones@redhat.com>2014-08-19 14:20:23 -0400
commit21f96e586351fc8b535353f2dea7c784e931d14a (patch)
treec7028a2687dcc1ce83f2b3bfdf25d0a3f9af7aa1 /Cryptlib/Pk/CryptAuthenticode.c
parentfa525bc4632e04346fae82a98ce23b31c6cfc86d (diff)
downloadefi-boot-shim-21f96e586351fc8b535353f2dea7c784e931d14a.tar.gz
efi-boot-shim-21f96e586351fc8b535353f2dea7c784e931d14a.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;
//