about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch')
-rw-r--r--nixpkgs/pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch b/nixpkgs/pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch
new file mode 100644
index 000000000000..585eb64eaa47
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/oscrypto/support-openssl-3.0.10.patch
@@ -0,0 +1,11 @@
+https://github.com/wbond/oscrypto/issues/75
+--- a/oscrypto/_openssl/_libcrypto_cffi.py
++++ b/oscrypto/_openssl/_libcrypto_cffi.py
+@@ -37,1 +37,1 @@
+-version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string)
++version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)
+--- a/oscrypto/_openssl/_libcrypto_ctypes.py
++++ b/oscrypto/_openssl/_libcrypto_ctypes.py
+@@ -40,1 +40,1 @@
+-version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string)
++version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)