diff --git a/0001-expected_algs-list-to-include-TLS_SM4.patch b/0001-expected_algs-list-to-include-TLS_SM4.patch new file mode 100644 index 0000000000000000000000000000000000000000..40a9b967628f0a8caa2b4d6d09f93e7dfb24c3ea --- /dev/null +++ b/0001-expected_algs-list-to-include-TLS_SM4.patch @@ -0,0 +1,24 @@ +From de9673565c8b01cb3bb1032a8d30eed02ad658c1 Mon Sep 17 00:00:00 2001 +From: wangshuo +Date: Wed, 11 Dec 2024 00:55:55 +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 203351b..1e22a05 100644 +--- a/Lib/test/test_ssl.py ++++ b/Lib/test/test_ssl.py +@@ -4382,6 +4382,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 + diff --git a/python3.spec b/python3.spec index dd4985f5a2b0f7aed64c64e357d191e83ea0699f..3493e9a76fcd71f4c510078258bc0fecb5cf9774 100644 --- a/python3.spec +++ b/python3.spec @@ -6,7 +6,7 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.11.11 -Release: 1 +Release: 2 License: Python-2.0 %global branchversion 3.11 @@ -97,6 +97,7 @@ Patch251: 00251-change-user-install-location.patch Patch9000: add-the-sm3-method-for-obtaining-the-salt-value.patch Patch9001: 0001-add-loongarch64-support-for-python.patch +Patch9002: 0001-expected_algs-list-to-include-TLS_SM4.patch Provides: python%{branchversion} = %{version}-%{release} Provides: python(abi) = %{branchversion} @@ -850,6 +851,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Wed Dec 11 2024 wangshuo - 3.11.11-2 +- Type:update +- CVE:NA +- SUG:NA +- DESC:support TLS_SM4 + * Wed Dec 04 2024 Funda Wang - 3.11.11-1 - update to 3.11.11