mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
python-cryptography: Remove NPN
Upstream backport. It seems the holdup is on python-twisted. Without this, it fails with SSL_get0_next_proto_negotiated: symbol not found Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
22
lang/python/python-cryptography/patches/030-remove-npn.patch
Normal file
22
lang/python/python-cryptography/patches/030-remove-npn.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From b0b50b6bbbdf3abadc70b64c56e25b872721a7f3 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Kehrer <paul.l.kehrer@gmail.com>
|
||||
Date: Mon, 25 Feb 2019 11:12:10 +0800
|
||||
Subject: [PATCH] remove another NPN related definition
|
||||
|
||||
---
|
||||
src/_cffi_src/openssl/ssl.py | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
|
||||
index e3a7790ee1..f98f576838 100644
|
||||
--- a/src/_cffi_src/openssl/ssl.py
|
||||
+++ b/src/_cffi_src/openssl/ssl.py
|
||||
@@ -139,8 +139,6 @@
|
||||
static const long TLS_ST_BEFORE;
|
||||
static const long TLS_ST_OK;
|
||||
|
||||
-static const long OPENSSL_NPN_NEGOTIATED;
|
||||
-
|
||||
typedef ... SSL_METHOD;
|
||||
typedef ... SSL_CTX;
|
||||
|
||||
Reference in New Issue
Block a user