Sfoglia il codice sorgente

Revert "blind uwp fix"

This reverts commit ac326babdf.
release/3.x.x
Anton Yaroshenko 5 anni fa
committed by Christian Kratky
parent
commit
e8ff48bfd3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs

+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs Vedi File

@@ -132,7 +132,7 @@ namespace MQTTnet.Implementations
throw new NotSupportedException("Only one client certificate is supported for UWP.");
}

return new Certificate(options.TlsOptions.Certificates.First().GetRawCertData());
return new Certificate(options.TlsOptions.Certificates.First().AsBuffer());
}

private IEnumerable<ChainValidationResult> ResolveIgnorableServerCertificateErrors()


Caricamento…
Annulla
Salva