From 422eaa6d37fca10ae1866851031dbd9c3048453a Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 7 Oct 2021 20:55:15 -0400 Subject: [PATCH] Fix typo --- core/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/service.go b/core/service.go index de11b159..a95a9f36 100644 --- a/core/service.go +++ b/core/service.go @@ -231,7 +231,7 @@ func (service *Service) call(result *Result) { if isServiceStartTLS { result.Connected, certificate, err = client.CanPerformStartTLS(strings.TrimPrefix(service.URL, "starttls://"), service.ClientConfig) } else { - result.Connected, certificate, err = client.CanPerformStartTLS(strings.TrimPrefix(service.URL, "tls://"), service.ClientConfig) + result.Connected, certificate, err = client.CanPerformTLS(strings.TrimPrefix(service.URL, "tls://"), service.ClientConfig) } if err != nil { result.AddError(err.Error())