support TLS_SM4
This commit is contained in:
parent
3a962a5013
commit
5bc71843bd
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 273a81e603e97af08186d697023182723aa2d69d Mon Sep 17 00:00:00 2001
|
||||||
|
From: wangshuo <wangshuo@kylinos.cn>
|
||||||
|
Date: Wed, 11 Dec 2024 01:15:08 +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 d95f0ef..775fc80 100644
|
||||||
|
--- a/Lib/test/test_ssl.py
|
||||||
|
+++ b/Lib/test/test_ssl.py
|
||||||
|
@@ -4305,6 +4305,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.9.9
|
Version: 3.9.9
|
||||||
Release: 38
|
Release: 39
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
|
|
||||||
%global branchversion 3.9
|
%global branchversion 3.9
|
||||||
@ -138,6 +138,7 @@ Patch9001: python3-Add-sw64-architecture.patch
|
|||||||
Patch9002: Add-loongarch-support.patch
|
Patch9002: Add-loongarch-support.patch
|
||||||
Patch9003: avoid-usage-of-md5-in-multiprocessing.patch
|
Patch9003: avoid-usage-of-md5-in-multiprocessing.patch
|
||||||
Patch9004: update-openssl-version-for-test-case.patch
|
Patch9004: update-openssl-version-for-test-case.patch
|
||||||
|
Patch9005: 0001-expected_algs-list-to-include-TLS_SM4.patch
|
||||||
|
|
||||||
Provides: python%{branchversion} = %{version}-%{release}
|
Provides: python%{branchversion} = %{version}-%{release}
|
||||||
Provides: python(abi) = %{branchversion}
|
Provides: python(abi) = %{branchversion}
|
||||||
@ -265,6 +266,7 @@ rm -r Modules/expat
|
|||||||
%patch -P9002 -p1
|
%patch -P9002 -p1
|
||||||
%patch -P9003 -p1
|
%patch -P9003 -p1
|
||||||
%patch -P9004 -p1
|
%patch -P9004 -p1
|
||||||
|
%patch -P9005 -p1
|
||||||
|
|
||||||
rm Lib/ensurepip/_bundled/*.whl
|
rm Lib/ensurepip/_bundled/*.whl
|
||||||
rm configure pyconfig.h.in
|
rm configure pyconfig.h.in
|
||||||
@ -887,6 +889,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 11 2024 wangshuo <wangshuo@kylinos.cn> - 3.9.9-39
|
||||||
|
- Type:update
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:support TLS_SM4
|
||||||
|
|
||||||
* Tue Nov 12 2024 Funda Wang <fundawang@yeah.net> - 3.9.9-38
|
* Tue Nov 12 2024 Funda Wang <fundawang@yeah.net> - 3.9.9-38
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- CVE:CVE-2024-9287
|
- CVE:CVE-2024-9287
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user