Lines 2113-2120
static PyMethodDef PySSLMethods[] = {
Link Here
|
2113 |
PySSL_peercert_doc}, |
2113 |
PySSL_peercert_doc}, |
2114 |
{"cipher", (PyCFunction)PySSL_cipher, METH_NOARGS}, |
2114 |
{"cipher", (PyCFunction)PySSL_cipher, METH_NOARGS}, |
2115 |
{"version", (PyCFunction)PySSL_version, METH_NOARGS}, |
2115 |
{"version", (PyCFunction)PySSL_version, METH_NOARGS}, |
|
|
2116 |
#if HAVE_NPN |
2116 |
#ifdef OPENSSL_NPN_NEGOTIATED |
2117 |
#ifdef OPENSSL_NPN_NEGOTIATED |
2117 |
{"selected_npn_protocol", (PyCFunction)PySSL_selected_npn_protocol, METH_NOARGS}, |
2118 |
{"selected_npn_protocol", (PyCFunction)PySSL_selected_npn_protocol, METH_NOARGS}, |
|
|
2119 |
#endif |
2118 |
#endif |
2120 |
#endif |
2119 |
#if HAVE_ALPN |
2121 |
#if HAVE_ALPN |
2120 |
{"selected_alpn_protocol", (PyCFunction)PySSL_selected_alpn_protocol, METH_NOARGS}, |
2122 |
{"selected_alpn_protocol", (PyCFunction)PySSL_selected_alpn_protocol, METH_NOARGS}, |