1
0
mirror of https://github.com/golang/go synced 2024-11-17 10:54:50 -07:00

crypto/tls: update the MITM reference to "machine-in-the-middle"

Changing "man-in-the-middle" references to "machine-in-the-middle",
it's a more inclusive term and still aligns with the MITM acronym.

Change-Id: I81f954cff3d252433443f159ff9edaf59a28ab9d
GitHub-Last-Rev: 3e8f91424a
GitHub-Pull-Request: golang/go#37918
Reviewed-on: https://go-review.googlesource.com/c/go/+/223897
Reviewed-by: Filippo Valsorda <filippo@golang.org>
This commit is contained in:
Chris Le Roy 2020-03-19 21:31:23 +00:00 committed by Filippo Valsorda
parent 93a9561b23
commit 16822a2bc4

View File

@ -549,7 +549,7 @@ type Config struct {
// server's certificate chain and host name.
// If InsecureSkipVerify is true, TLS accepts any certificate
// presented by the server and any host name in that certificate.
// In this mode, TLS is susceptible to man-in-the-middle attacks.
// In this mode, TLS is susceptible to machine-in-the-middle attacks.
// This should be used only for testing.
InsecureSkipVerify bool