Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f58d45c commit e9fccb3Copy full SHA for e9fccb3
1 file changed
Modules/_ssl.c
@@ -2547,7 +2547,9 @@ PyInit__ssl(void)
2547
PyModule_AddIntConstant(m, "OP_CIPHER_SERVER_PREFERENCE",
2548
SSL_OP_CIPHER_SERVER_PREFERENCE);
2549
PyModule_AddIntConstant(m, "OP_SINGLE_DH_USE", SSL_OP_SINGLE_DH_USE);
2550
+#ifdef SSL_OP_SINGLE_ECDH_USE
2551
PyModule_AddIntConstant(m, "OP_SINGLE_ECDH_USE", SSL_OP_SINGLE_ECDH_USE);
2552
+#endif
2553
#ifdef SSL_OP_NO_COMPRESSION
2554
PyModule_AddIntConstant(m, "OP_NO_COMPRESSION",
2555
SSL_OP_NO_COMPRESSION);
0 commit comments