mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.13] gh-131127: Minimal build support on systems using LibreSSL (GH-131128) (GH-132392)
(cherry picked from commit 1b49c8c71b
)
Co-authored-by: Collin Funk <collin.funk1@gmail.com>
This commit is contained in:
parent
2b61f6ac39
commit
88c1ca9eba
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Systems using LibreSSL now successfully build.
|
|
@ -4744,7 +4744,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue