Skip to content

Commit 58c9950

Browse files
vladimirdulovumputun
authored andcommitted
nosec G402 comment added to tlsConf to bypass errors of linter v1.50
1 parent cb13d5b commit 58c9950

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

email.go

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func (em *Sender) String() string {
172172

173173
func (em *Sender) client() (c *smtp.Client, err error) {
174174
srvAddress := fmt.Sprintf("%s:%d", em.host, em.port)
175+
// #nosec G402
175176
tlsConf := &tls.Config{
176177
InsecureSkipVerify: em.insecureSkipVerify, // #nosec G402
177178
ServerName: em.host,

0 commit comments

Comments
 (0)