support TLS_SM4
This commit is contained in:
parent
e9d921e1e8
commit
e9a34e198f
24
0001-expected_algs-list-to-include-TLS_SM4.patch
Normal file
24
0001-expected_algs-list-to-include-TLS_SM4.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From e9125a4a29e9c615a2562446f07c1b1ffaa6061f Mon Sep 17 00:00:00 2001
|
||||||
|
From: wangshuo <wangshuo@kylinos.cn>
|
||||||
|
Date: Wed, 11 Dec 2024 01:05:25 +0800
|
||||||
|
Subject: [PATCH] expected_algs list to include TLS_SM4
|
||||||
|
|
||||||
|
---
|
||||||
|
Lib/test/test_ssl.py | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
|
||||||
|
index 50734f6..0db51bc 100644
|
||||||
|
--- a/Lib/test/test_ssl.py
|
||||||
|
+++ b/Lib/test/test_ssl.py
|
||||||
|
@@ -4222,6 +4222,7 @@ class ThreadedTests(unittest.TestCase):
|
||||||
|
"AES256", "AES-256",
|
||||||
|
# TLS 1.3 ciphers are always enabled
|
||||||
|
"TLS_CHACHA20", "TLS_AES",
|
||||||
|
+ "TLS_SM4",
|
||||||
|
]
|
||||||
|
|
||||||
|
stats = server_params_test(client_context, server_context,
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
10
python3.spec
10
python3.spec
@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
|
|||||||
URL: https://www.python.org/
|
URL: https://www.python.org/
|
||||||
|
|
||||||
Version: 3.7.9
|
Version: 3.7.9
|
||||||
Release: 41
|
Release: 42
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
|
|
||||||
%global branchversion 3.7
|
%global branchversion 3.7
|
||||||
@ -191,6 +191,7 @@ Patch9009: backport-3.7-gh-115133-Fix-test_xml_etree-error-with-expat-ve.patch
|
|||||||
|
|
||||||
Patch9010: backport-3.7-gh-104049-do-not-expose-on-disk-location-from-Si.patch
|
Patch9010: backport-3.7-gh-104049-do-not-expose-on-disk-location-from-Si.patch
|
||||||
Patch9011: backport-3.7-gh-99889-Fix-directory-traversal-security-flaw-i.patch
|
Patch9011: backport-3.7-gh-99889-Fix-directory-traversal-security-flaw-i.patch
|
||||||
|
Patch9012: 0001-expected_algs-list-to-include-TLS_SM4.patch
|
||||||
|
|
||||||
|
|
||||||
Provides: python%{branchversion} = %{version}-%{release}
|
Provides: python%{branchversion} = %{version}-%{release}
|
||||||
@ -363,6 +364,7 @@ rm Lib/ensurepip/_bundled/*.whl
|
|||||||
|
|
||||||
%patch9010 -p1
|
%patch9010 -p1
|
||||||
%patch9011 -p1
|
%patch9011 -p1
|
||||||
|
%patch9012 -p1
|
||||||
|
|
||||||
sed -i "s/generic_os/%{_vendor}/g" Lib/platform.py
|
sed -i "s/generic_os/%{_vendor}/g" Lib/platform.py
|
||||||
rm configure pyconfig.h.in
|
rm configure pyconfig.h.in
|
||||||
@ -968,6 +970,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 11 2024 wangshuo <wangshuo@kylinos.cn> - 3.7.9-42
|
||||||
|
- Type:update
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:support TLS_SM4
|
||||||
|
|
||||||
* Tue Oct 29 2024 wangshuo <wangshuo@kylinos.cn> - 3.7.9-41
|
* Tue Oct 29 2024 wangshuo <wangshuo@kylinos.cn> - 3.7.9-41
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user