[issue44598] test_constructor (test.test_ssl.ContextTests) ... Fatal Python error: Segmentation fault
tongxiaoge
report at bugs.python.org
Mon Dec 27 00:06:52 EST 2021
tongxiaoge <shixuantong at huawei.com> added the comment:
We make SSL3 disappear to newly built dependencies, the test_ssl success. Refer to the modification of OpenSSL on fedoras (address: https://src.fedoraproject.org/rpms/openssl/tree/f34 )
```
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/*.dist
+# Next step of gradual disablement of SSL3.
+# Make SSL3 disappear to newly built dependencies.
+sed -i '/^\#ifndef OPENSSL_NO_SSL_TRACE/i\
+#ifndef OPENSSL_NO_SSL3\
+# define OPENSSL_NO_SSL3\
+#endif' $RPM_BUILD_ROOT/%{_prefix}/include/openssl/opensslconf.h
+
%check
```
----------
nosy: +sxt1001
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44598>
_______________________________________
More information about the Python-bugs-list
mailing list