Skip to content

Commit d3375f1

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 6783fe6 commit d3375f1

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
@@ -333,11 +333,13 @@ ssl
333333
(Contributed by Ron Frederick in :gh:`136306`)
334334

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

342+
341343
tarfile
342344
-------
343345

0 commit comments

Comments
 (0)