Ignore gosec warning in example

This commit is contained in:
Erik Dubbelboer
2020-07-12 18:25:46 +02:00
parent f97a382d80
commit 607743cb8e
+2 -1
View File
@@ -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)
}