Skip to content

Commit 2bd08bf

Browse files
committed
Removed invalid setting of TLS options, fixes #94.
1 parent ed74ad2 commit 2bd08bf

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/SparkplugNet/Core/Application/SparkplugApplicationBase.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,10 +357,6 @@ private async Task ConnectInternal()
357357
{
358358
builder.WithTlsOptions(this.Options.MqttTlsOptions);
359359
}
360-
else
361-
{
362-
builder.WithTlsOptions(o => o.UseTls());
363-
}
364360

365361
if (this.Options.MqttWebSocketOptions is null)
366362
{

src/SparkplugNet/Core/Node/SparkplugNodeBase.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,6 @@ private async Task ConnectInternal()
295295
{
296296
builder.WithTlsOptions(this.Options.MqttTlsOptions);
297297
}
298-
else
299-
{
300-
builder.WithTlsOptions(o => o.UseTls());
301-
}
302298

303299
if (this.Options.MqttWebSocketOptions is null)
304300
{

0 commit comments

Comments
 (0)