From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 2 Nov 2021 21:47:50 +0000 (-0700) Subject: bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. (GH-28947... X-Git-Tag: v3.10.1~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71f602b54c9c5346d22a542e186746b06cccfc8e;p=thirdparty%2FPython%2Fcpython.git bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. (GH-28947) (GH-29373) Specify that SSLContext.set_default_verify_paths is called on ALL systems. The code of SSLContext.load_default_certs was changed in bpo-22449 to do this, this fix corrects the documentation to match that change. (cherry picked from commit 3551bf16ee5c25b6349209dd30e032f0f3b9ace3) Co-authored-by: LincolnPuzey --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 4d75616488b5..a20f97a26535 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1576,7 +1576,7 @@ to speed up repeated connections from the same clients. Load a set of default "certification authority" (CA) certificates from default locations. On Windows it loads CA certs from the ``CA`` and - ``ROOT`` system stores. On other systems it calls + ``ROOT`` system stores. On all systems it calls :meth:`SSLContext.set_default_verify_paths`. In the future the method may load CA certificates from other locations, too.