diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-10 07:26:30 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-10 07:26:30 +0800 |
| commit | a64930636462bf24118ca7266f699ce2b696e821 (patch) | |
| tree | 58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/python/libressl.diff | |
| parent | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff) | |
| download | alicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip | |
clang branch updated
Diffstat (limited to 'repos/extra/python/libressl.diff')
| -rw-r--r-- | repos/extra/python/libressl.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/python/libressl.diff b/repos/extra/python/libressl.diff new file mode 100644 index 00000000..ae5b6d37 --- /dev/null +++ b/repos/extra/python/libressl.diff @@ -0,0 +1,13 @@ +diff --git a/Modules/_ssl.c b/Modules/_ssl.c +index a7a278de..6e6b5775 100644 +--- a/Modules/_ssl.c ++++ b/Modules/_ssl.c +@@ -4728,7 +4728,7 @@ _ssl__SSLContext_sni_callback_set_impl(PySSLContext *self, PyObject *value) + return 0; + } + +-#if OPENSSL_VERSION_NUMBER < 0x30300000L ++#if OPENSSL_VERSION_NUMBER < 0x30300000L && !defined(LIBRESSL_VERSION_NUMBER) + static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj) + { + int ok; |