Browse Source

Revert "blind uwp fix"

This reverts commit ac326babdf.
release/3.x.x
Anton Yaroshenko 5 years ago
committed by Christian Kratky
parent
commit
e8ff48bfd3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs

+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.Uwp.cs View 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()


Loading…
Cancel
Save