From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 6 Dec 2025 13:29:54 +0000 (+0100) Subject: [3.13] Docs: fix RFC index reference for TLS 1.3 (GH-142262) (#142341) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=462541c0d7c6de835cd73986dbb3475ba8831f58;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: fix RFC index reference for TLS 1.3 (GH-142262) (#142341) Docs: fix RFC index reference for TLS 1.3 (GH-142262) (cherry picked from commit 61823a5382e8c0c0292e90a46ae3e1859b7f278b) Co-authored-by: Y. Z. Chen <754097987@qq.com> --- diff --git a/Lib/ssl.py b/Lib/ssl.py index c8703b046cfd..7508e4f2a4bd 100644 --- a/Lib/ssl.py +++ b/Lib/ssl.py @@ -186,7 +186,7 @@ class _TLSContentType: class _TLSAlertType: """Alert types for TLSContentType.ALERT messages - See RFC 8466, section B.2 + See RFC 8446, section B.2 """ CLOSE_NOTIFY = 0 UNEXPECTED_MESSAGE = 10 diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 37766288a3c1..61c57303440a 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -5385,7 +5385,7 @@ class TestEnumerations(unittest.TestCase): class Checked_TLSAlertType(enum.IntEnum): """Alert types for TLSContentType.ALERT messages - See RFC 8466, section B.2 + See RFC 8446, section B.2 """ CLOSE_NOTIFY = 0 UNEXPECTED_MESSAGE = 10