Skip to content

Commit f2cda88

Browse files
committed
gh-137197: Update what's new text
Clarify when to use the original set_ciphers (TLS 1.2 and earlier) vs. the new set_ciphersuites (TLS 1.3) methods and that both can be used at once.
1 parent 226a13a commit f2cda88

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,13 @@ ssl
319319
(Contributed by Ron Frederick in :gh:`136306`)
320320

321321
* Added new method :meth:`ssl.SSLContext.set_ciphersuites` for setting TLS 1.3
322-
ciphers and updated the documentation on :meth:`ssl.SSLContext.set_ciphers`
323-
to mention that it only applies to TLS 1.2 and earlier and that this new
324-
method must be used to set TLS 1.3 cipher suites.
322+
ciphers. For TLS 1.2 or earlier, :meth:`ssl.SSLContext.set_ciphers` should
323+
continue to be used. Both calls can be made on the same context and the
324+
selected cipher suite will depend on the TLS version negotiated when a
325+
connection is made.
325326
(Contributed by Ron Frederick in :gh:`137197`)
326327

328+
327329
tarfile
328330
-------
329331

0 commit comments

Comments
 (0)