diff options
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c b/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c index 3e0bbe1ee4..843ca2a92c 100644 --- a/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c +++ b/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c @@ -946,7 +946,7 @@ IsPkcsSignedDataVerifiedBySignatureList ( //
VerifyStatus = AuthenticodeVerify (
PkcsCertData->CertData,
- mSecDataDir->Size - sizeof(PkcsCertData->Hdr),
+ PkcsCertData->Hdr.dwLength - sizeof(PkcsCertData->Hdr),
RootCert,
RootCertSize,
mImageDigest,
|