Ver a proveniência

Fix revocation checks in certificate validator.

release/3.x.x
Christian Kratky há 6 anos
ascendente
cometimento
03bef4c15d
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.cs

+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.cs Ver ficheiro

@@ -116,7 +116,7 @@ namespace MQTTnet.Implementations
return true;
}

if (chain.ChainStatus.Any(c => c.Status == X509ChainStatusFlags.RevocationStatusUnknown || c.Status == X509ChainStatusFlags.Revoked || c.Status == X509ChainStatusFlags.RevocationStatusUnknown))
if (chain.ChainStatus.Any(c => c.Status == X509ChainStatusFlags.RevocationStatusUnknown || c.Status == X509ChainStatusFlags.Revoked || c.Status == X509ChainStatusFlags.OfflineRevocation))
{
if (!_options.TlsOptions.IgnoreCertificateRevocationErrors)
{


Carregando…
Cancelar
Guardar