Skip to content

Commit

Permalink
Ignore gosec warning in example
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubbelboer committed Jul 12, 2020
1 parent f97a382 commit 607743c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/letsencrypt/letsencryptserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func main() {
},
}

ln, err := net.Listen("tcp4", "0.0.0.0:443") // Let's Encrypt tls-alpn-01 only works on port 443.
// Let's Encrypt tls-alpn-01 only works on port 443.
ln, err := net.Listen("tcp4", "0.0.0.0:443") /* #nosec G102 */
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 607743c

Please sign in to comment.