commit | 2f975b31c96f7141f2c5a1acfc4a5a9d17d59681 | [log] [tgz] |
---|---|---|
author | Gregory Thiemonge <gthiemon@redhat.com> | Mon Jul 11 14:18:43 2022 +0200 |
committer | Gregory Thiemonge <gthiemon@redhat.com> | Mon Jul 11 14:33:58 2022 +0200 |
tree | 8df26edbfb1887f19c75f65807d8326ca5d1f3cb | |
parent | dde9e6381bbd4a785698c1d9311db82faa9a3223 [diff] |
Fix TLS*_METHOD for old pyopenssl releases The TLS_METHOD constant was introduced in pyopenssl 21.0.0 [0], but some older Octavia branches (from train to victoria) still use older releases (19.1.0 for victoria) and then don't support it. Switch back to the previous the SSL methods if the new constanst doesn't exist. [0] https://github.com/pyca/pyopenssl/commit/5dc698861c91b4aa83b284b282c0e91cdcee49a3 Change-Id: Ib0eeb1136c168fcc32326f4ed8b008fb7f193a30