mirror of
https://github.com/golang/go.git
synced 2025-05-16 04:44:39 +00: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: 3e8f91424a207233b537984747ae90cbc1f03755 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:
parent
93a9561b23
commit
16822a2bc4
@ -549,7 +549,7 @@ type Config struct {
|
|||||||
// server's certificate chain and host name.
|
// server's certificate chain and host name.
|
||||||
// If InsecureSkipVerify is true, TLS accepts any certificate
|
// If InsecureSkipVerify is true, TLS accepts any certificate
|
||||||
// presented by the server and any host name in that 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.
|
// This should be used only for testing.
|
||||||
InsecureSkipVerify bool
|
InsecureSkipVerify bool
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user