Skip to content

Commit a709e6f

Browse files
committed
fix typo and rephrase
1 parent 7f2a9ac commit a709e6f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_content/doc/go1.23.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ the GODEBUG environment variable.
293293
The experimental post-quantum key exchange mechanism X25519Kyber768Draft00
294294
is now enabled by default when [`Config.CurvePreferences`](/pkg/crypto/tls#Config.CurvePreferences) is nil.
295295
The default can be reverted by adding `tlskyber=0` to the GODEBUG environment variable.
296-
This is can be useful when dealing with legacy TLS servers that do not handle large records correctly,
297-
causing a timeout during the handshake (bug known as [TLS post-quantum TL;DR fail](https://tldr.fail/)).
296+
This can be useful when dealing with buggy TLS servers that do not handle large records correctly,
297+
causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)).
298298

299299
Go 1.23 changed the behavior of [`X509KeyPair`](/pkg/crypto/tls#X509KeyPair) and [`LoadX509KeyPair`](/pkg/crypto/tls#LoadX509KeyPair)
300300
to populate the [`Certificate.Leaf`](/pkg/crypto/tls#Certificate.Leaf) field of the returned [`Certificate`](/pkg/crypto/tls#Certificate).

_content/doc/go1.24.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,8 @@ The new post-quantum [`X25519MLKEM768`](/pkg/crypto/tls#X25519MLKEM768) key
480480
exchange mechanism is now supported and is enabled by default when
481481
[`Config.CurvePreferences`](/pkg/crypto/tls#Config.CurvePreferences) is nil.
482482
[GODEBUG setting](/doc/godebug) `tlsmlkem=0` reverts the default.
483-
This is can be useful when dealing with legacy TLS servers that do not handle large records correctly,
484-
causing a timeout during the handshake (bug known as [TLS post-quantum TL;DR fail](https://tldr.fail/)).
483+
This can be useful when dealing with buggy TLS servers that do not handle large records correctly,
484+
causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)).
485485

486486
Support for the experimental `X25519Kyber768Draft00` key exchange has been removed.
487487

0 commit comments

Comments
 (0)