python: fix build with OpenSSL 1.1.0 7446/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 16 Nov 2018 13:33:49 +0000 (15:33 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 16 Nov 2018 13:35:42 +0000 (15:35 +0200)
commit5bc39702fb8c4ac986d39c51b75d5c5cc3da4ac9
treed6452695d38d800eb889df03079b67aca4d61fdd
parent4e0438f5a95a0cc5a7637e42f00734d6d088eb81
python: fix build with OpenSSL 1.1.0

Addresses issue from here:
  https://github.com/openwrt/packages/issues/7367#issuecomment-437685598

The SSL module in Python doesn't handle properly all the combinations of
NPN between all OpenSSL & LibreSSL versions.
This patch fixes this.
Also pushed a report & proposal upstream to Python:
  https://bugs.python.org/issue35264

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python/Makefile
lang/python/python/patches/011-fix-ssl-build-use-have-npn.patch [new file with mode: 0644]