- Timestamp:
- Jul 2, 2014 2:13:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp
r51770 r51812 711 711 while ((pCertCtx = RTCrStoreCertSearchNext(g_hNtKernelRootStore, &Search)) != NULL) 712 712 { 713 if (RTCrX509SubjectPublicKeyInfo_Compare(&pCertCtx->pCert->TbsCertificate.SubjectPublicKeyInfo, 714 pPublicKeyInfo) == 0) 713 PCRTCRX509SUBJECTPUBLICKEYINFO pCertPubKeyInfo = NULL; 714 if (pCertCtx->pCert) 715 pCertPubKeyInfo = &pCertCtx->pCert->TbsCertificate.SubjectPublicKeyInfo; 716 else if (pCertCtx->pTaInfo) 717 pCertPubKeyInfo = &pCertCtx->pTaInfo->PubKey; 718 else 719 pCertPubKeyInfo = NULL; 720 if ( pCertPubKeyInfo 721 && RTCrX509SubjectPublicKeyInfo_Compare(pCertPubKeyInfo, pPublicKeyInfo) == 0) 715 722 cFound++; 716 723 RTCrCertCtxRelease(pCertCtx);
Note:
See TracChangeset
for help on using the changeset viewer.