mirror of https://github.com/python/cpython.git
gh-131127: Minimal build support on systems using LibreSSL (GH-131128)
This commit is contained in:
parent
d87e7f3529
commit
1b49c8c71b
|
@ -0,0 +1 @@
|
|||
Systems using LibreSSL now successfully build.
|
|
@ -4812,7 +4812,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…
Reference in New Issue