diff options
author | Christian Heimes <christian@python.org> | 2018-02-25 11:31:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 11:31:33 (GMT) |
commit | 29eab55309b9f78b79074d26db16a44e7841c639 (patch) | |
tree | 3489b66b02afd22e2e23eb2dec39e8816bf15100 /Modules/clinic/_ssl.c.h | |
parent | 5bb9692575f10f4a7c7f1c2c0c70956baf6d5c23 (diff) | |
download | cpython-29eab55309b9f78b79074d26db16a44e7841c639.zip cpython-29eab55309b9f78b79074d26db16a44e7841c639.tar.gz cpython-29eab55309b9f78b79074d26db16a44e7841c639.tar.bz2 |
bpo-30622: Fix NPN for OpenSSL 1.1.1-pre1 (#5876)
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Modules/clinic/_ssl.c.h')
-rw-r--r-- | Modules/clinic/_ssl.c.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/clinic/_ssl.c.h b/Modules/clinic/_ssl.c.h index 1ee1bfb..5ba34ec 100644 --- a/Modules/clinic/_ssl.c.h +++ b/Modules/clinic/_ssl.c.h @@ -132,7 +132,7 @@ _ssl__SSLSocket_version(PySSLSocket *self, PyObject *Py_UNUSED(ignored)) return _ssl__SSLSocket_version_impl(self); } -#if defined(HAVE_NPN) +#if (HAVE_NPN) PyDoc_STRVAR(_ssl__SSLSocket_selected_npn_protocol__doc__, "selected_npn_protocol($self, /)\n" @@ -151,9 +151,9 @@ _ssl__SSLSocket_selected_npn_protocol(PySSLSocket *self, PyObject *Py_UNUSED(ign return _ssl__SSLSocket_selected_npn_protocol_impl(self); } -#endif /* defined(HAVE_NPN) */ +#endif /* (HAVE_NPN) */ -#if defined(HAVE_ALPN) +#if (HAVE_ALPN) PyDoc_STRVAR(_ssl__SSLSocket_selected_alpn_protocol__doc__, "selected_alpn_protocol($self, /)\n" @@ -172,7 +172,7 @@ _ssl__SSLSocket_selected_alpn_protocol(PySSLSocket *self, PyObject *Py_UNUSED(ig return _ssl__SSLSocket_selected_alpn_protocol_impl(self); } -#endif /* defined(HAVE_ALPN) */ +#endif /* (HAVE_ALPN) */ PyDoc_STRVAR(_ssl__SSLSocket_compression__doc__, "compression($self, /)\n" @@ -1175,4 +1175,4 @@ exit: #ifndef _SSL_ENUM_CRLS_METHODDEF #define _SSL_ENUM_CRLS_METHODDEF #endif /* !defined(_SSL_ENUM_CRLS_METHODDEF) */ -/*[clinic end generated code: output=a00fef6a470cfc2c input=a9049054013a1b77]*/ +/*[clinic end generated code: output=e2417fee28666f7c input=a9049054013a1b77]*/ |