diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-22 15:32:03 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-22 15:53:49 +0000 |
commit | 52e67d4e6307a161491825bdfca01dd36b2228e1 (patch) | |
tree | f4c2bea6dab8d9df21d41323f120aeb34bfaf96a /recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch | |
parent | cceef93ba83497dcce2c1cdac91555d82371450a (diff) | |
download | meta-virtualization-52e67d4e6307a161491825bdfca01dd36b2228e1.tar.gz |
python: update support packages to python3
Updating the python support packages to python3. Some packages are
dropped in favour of variants that are in meta-python, some are
updated and update to the new python3 name for others.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch')
-rw-r--r-- | recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch b/recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch deleted file mode 100644 index 623d04f0..00000000 --- a/recipes-devtools/python/python-gevent/gevent-allow-ssl-v2-or-v3-certificates.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From c2dc97478fcc3757e09d5d2997391960a8351d53 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
3 | Date: Sun, 29 Mar 2015 22:34:28 -0400 | ||
4 | Subject: [PATCH] gevent: allow ssl v2 or v3 certificates | ||
5 | |||
6 | Work around an issue with python 2.7 not always having SSLv3 available | ||
7 | by allowing v2 or v3 certificates. | ||
8 | |||
9 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
10 | --- | ||
11 | gevent/ssl.py | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/gevent/ssl.py b/gevent/ssl.py | ||
15 | index ce6434718d1b..93c0d642da5f 100644 | ||
16 | --- a/gevent/ssl.py | ||
17 | +++ b/gevent/ssl.py | ||
18 | @@ -383,7 +383,7 @@ def wrap_socket(sock, keyfile=None, certfile=None, | ||
19 | ciphers=ciphers) | ||
20 | |||
21 | |||
22 | -def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None): | ||
23 | +def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None): | ||
24 | """Retrieve the certificate from the server at the specified address, | ||
25 | and return it as a PEM-encoded string. | ||
26 | If 'ca_certs' is specified, validate the server cert against it. | ||
27 | -- | ||
28 | 1.9.1 | ||
29 | |||