bpo-31533: fix broken link to OpenSSL docs (#3674) · python/cpython@19e4d93

Original file line numberDiff line numberDiff line change

@@ -233,7 +233,7 @@ instead.

233233
234234

The *ciphers* parameter sets the available ciphers for this SSL object.

235235

It should be a string in the `OpenSSL cipher list format

236-

<https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_.

236+

<https://wiki.openssl.org/index.php/Manual:Ciphers(1)#CIPHER_LIST_FORMAT>`_.

237237
238238

The parameter ``do_handshake_on_connect`` specifies whether to do the SSL

239239

handshake automatically after doing a :meth:`socket.connect`, or whether the

@@ -1465,7 +1465,7 @@ to speed up repeated connections from the same clients.

14651465
14661466

Set the available ciphers for sockets created with this context.

14671467

It should be a string in the `OpenSSL cipher list format

1468-

<https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT>`_.

1468+

<https://wiki.openssl.org/index.php/Manual:Ciphers(1)#CIPHER_LIST_FORMAT>`_.

14691469

If no cipher can be selected (because compile-time options or other

14701470

configuration forbids use of all the specified ciphers), an

14711471

:class:`SSLError` will be raised.