зеркало из https://github.com/microsoft/msquic.git
ignore validation failures with NO_CERTIFICATE_VALIDATION (#1728)
This commit is contained in:
Родитель
d617d1ecdd
Коммит
8f74f851a6
|
@ -1976,8 +1976,9 @@ CxPlatTlsWriteDataToSchannel(
|
|||
}
|
||||
}
|
||||
SecPkgContext_CertificateValidationResult CertValidationResult = {0,0};
|
||||
if (TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_REQUIRE_CLIENT_AUTHENTICATION ||
|
||||
TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_DEFER_CERTIFICATE_VALIDATION) {
|
||||
if (!(TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_NO_CERTIFICATE_VALIDATION) &&
|
||||
(TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_REQUIRE_CLIENT_AUTHENTICATION ||
|
||||
TlsContext->SecConfig->Flags & QUIC_CREDENTIAL_FLAG_DEFER_CERTIFICATE_VALIDATION)) {
|
||||
//
|
||||
// Collect the client cert validation result
|
||||
//
|
||||
|
|
Загрузка…
Ссылка в новой задаче