diff --git a/doc/go1.21.html b/doc/go1.21.html index 45b037a204..a31956869e 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -585,6 +585,32 @@ Do not send CLs removing the interior tags from such phrases. The new VersionName function returns the name for a TLS version number.

+ +

+ The TLS alert codes sent from the server for client authentication failures have + been improved. Prior to Go 1.21, these failures always resulted in a "bad certificate" alert. + Starting from Go 1.21, certain failures will result in more appropriate alert codes, + as defined by RFC 5246 and RFC 8446: +

+