crypt32: Implement CertVerifyValidityNesting.
This commit is contained in:
parent
96963d2bc1
commit
94a9b5a2bf
|
@ -1125,6 +1125,15 @@ LONG WINAPI CertVerifyTimeValidity(LPFILETIME pTimeToVerify,
|
|||
return ret;
|
||||
}
|
||||
|
||||
BOOL WINAPI CertVerifyValidityNesting(PCERT_INFO pSubjectInfo,
|
||||
PCERT_INFO pIssuerInfo)
|
||||
{
|
||||
TRACE("(%p, %p)\n", pSubjectInfo, pIssuerInfo);
|
||||
|
||||
return CertVerifyTimeValidity(&pSubjectInfo->NotBefore, pIssuerInfo) == 0
|
||||
&& CertVerifyTimeValidity(&pSubjectInfo->NotAfter, pIssuerInfo) == 0;
|
||||
}
|
||||
|
||||
BOOL WINAPI CryptHashCertificate(HCRYPTPROV hCryptProv, ALG_ID Algid,
|
||||
DWORD dwFlags, const BYTE *pbEncoded, DWORD cbEncoded, BYTE *pbComputedHash,
|
||||
DWORD *pcbComputedHash)
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
@ stub CertVerifyRevocation
|
||||
@ stdcall CertVerifySubjectCertificateContext(ptr ptr ptr)
|
||||
@ stdcall CertVerifyTimeValidity(ptr ptr)
|
||||
@ stub CertVerifyValidityNesting
|
||||
@ stdcall CertVerifyValidityNesting(ptr ptr)
|
||||
@ stdcall CreateFileU(wstr long long ptr long long ptr) kernel32.CreateFileW
|
||||
@ stdcall CryptBinaryToStringA(ptr long long ptr ptr)
|
||||
@ stub CryptBinaryToStringW # (ptr long long ptr ptr)
|
||||
|
|
Loading…
Reference in New Issue