Lines Matching refs:PyModule_AddIntConstant
6115 PyModule_AddIntConstant(m, "SSL_ERROR_ZERO_RETURN", in PyInit__ssl()
6117 PyModule_AddIntConstant(m, "SSL_ERROR_WANT_READ", in PyInit__ssl()
6119 PyModule_AddIntConstant(m, "SSL_ERROR_WANT_WRITE", in PyInit__ssl()
6121 PyModule_AddIntConstant(m, "SSL_ERROR_WANT_X509_LOOKUP", in PyInit__ssl()
6123 PyModule_AddIntConstant(m, "SSL_ERROR_SYSCALL", in PyInit__ssl()
6125 PyModule_AddIntConstant(m, "SSL_ERROR_SSL", in PyInit__ssl()
6127 PyModule_AddIntConstant(m, "SSL_ERROR_WANT_CONNECT", in PyInit__ssl()
6130 PyModule_AddIntConstant(m, "SSL_ERROR_EOF", in PyInit__ssl()
6132 PyModule_AddIntConstant(m, "SSL_ERROR_INVALID_ERROR_CODE", in PyInit__ssl()
6135 PyModule_AddIntConstant(m, "CERT_NONE", in PyInit__ssl()
6137 PyModule_AddIntConstant(m, "CERT_OPTIONAL", in PyInit__ssl()
6139 PyModule_AddIntConstant(m, "CERT_REQUIRED", in PyInit__ssl()
6142 PyModule_AddIntConstant(m, "VERIFY_DEFAULT", in PyInit__ssl()
6144 PyModule_AddIntConstant(m, "VERIFY_CRL_CHECK_LEAF", in PyInit__ssl()
6146 PyModule_AddIntConstant(m, "VERIFY_CRL_CHECK_CHAIN", in PyInit__ssl()
6148 PyModule_AddIntConstant(m, "VERIFY_X509_STRICT", in PyInit__ssl()
6151 PyModule_AddIntConstant(m, "VERIFY_X509_TRUSTED_FIRST", in PyInit__ssl()
6160 PyModule_AddIntConstant(m, "ALERT_DESCRIPTION_"#s, \ in PyInit__ssl()
6208 PyModule_AddIntConstant(m, "PROTOCOL_SSLv2", in PyInit__ssl()
6212 PyModule_AddIntConstant(m, "PROTOCOL_SSLv3", in PyInit__ssl()
6215 PyModule_AddIntConstant(m, "PROTOCOL_SSLv23", in PyInit__ssl()
6217 PyModule_AddIntConstant(m, "PROTOCOL_TLS", in PyInit__ssl()
6219 PyModule_AddIntConstant(m, "PROTOCOL_TLS_CLIENT", in PyInit__ssl()
6221 PyModule_AddIntConstant(m, "PROTOCOL_TLS_SERVER", in PyInit__ssl()
6223 PyModule_AddIntConstant(m, "PROTOCOL_TLSv1", in PyInit__ssl()
6225 PyModule_AddIntConstant(m, "PROTOCOL_TLSv1_1", in PyInit__ssl()
6227 PyModule_AddIntConstant(m, "PROTOCOL_TLSv1_2", in PyInit__ssl()
6231 PyModule_AddIntConstant(m, "OP_ALL", in PyInit__ssl()
6233 PyModule_AddIntConstant(m, "OP_NO_SSLv2", SSL_OP_NO_SSLv2); in PyInit__ssl()
6234 PyModule_AddIntConstant(m, "OP_NO_SSLv3", SSL_OP_NO_SSLv3); in PyInit__ssl()
6235 PyModule_AddIntConstant(m, "OP_NO_TLSv1", SSL_OP_NO_TLSv1); in PyInit__ssl()
6236 PyModule_AddIntConstant(m, "OP_NO_TLSv1_1", SSL_OP_NO_TLSv1_1); in PyInit__ssl()
6237 PyModule_AddIntConstant(m, "OP_NO_TLSv1_2", SSL_OP_NO_TLSv1_2); in PyInit__ssl()
6239 PyModule_AddIntConstant(m, "OP_NO_TLSv1_3", SSL_OP_NO_TLSv1_3); in PyInit__ssl()
6241 PyModule_AddIntConstant(m, "OP_NO_TLSv1_3", 0); in PyInit__ssl()
6243 PyModule_AddIntConstant(m, "OP_CIPHER_SERVER_PREFERENCE", in PyInit__ssl()
6245 PyModule_AddIntConstant(m, "OP_SINGLE_DH_USE", SSL_OP_SINGLE_DH_USE); in PyInit__ssl()
6246 PyModule_AddIntConstant(m, "OP_NO_TICKET", SSL_OP_NO_TICKET); in PyInit__ssl()
6248 PyModule_AddIntConstant(m, "OP_SINGLE_ECDH_USE", SSL_OP_SINGLE_ECDH_USE); in PyInit__ssl()
6251 PyModule_AddIntConstant(m, "OP_NO_COMPRESSION", in PyInit__ssl()
6255 PyModule_AddIntConstant(m, "OP_ENABLE_MIDDLEBOX_COMPAT", in PyInit__ssl()
6259 PyModule_AddIntConstant(m, "OP_NO_RENEGOTIATION", in PyInit__ssl()
6264 PyModule_AddIntConstant(m, "HOSTFLAG_ALWAYS_CHECK_SUBJECT", in PyInit__ssl()
6268 PyModule_AddIntConstant(m, "HOSTFLAG_NEVER_CHECK_SUBJECT", in PyInit__ssl()
6272 PyModule_AddIntConstant(m, "HOSTFLAG_NO_WILDCARDS", in PyInit__ssl()
6276 PyModule_AddIntConstant(m, "HOSTFLAG_NO_PARTIAL_WILDCARDS", in PyInit__ssl()
6280 PyModule_AddIntConstant(m, "HOSTFLAG_MULTI_LABEL_WILDCARDS", in PyInit__ssl()
6284 PyModule_AddIntConstant(m, "HOSTFLAG_SINGLE_LABEL_SUBDOMAINS", in PyInit__ssl()
6289 PyModule_AddIntConstant(m, "PROTO_MINIMUM_SUPPORTED", in PyInit__ssl()
6291 PyModule_AddIntConstant(m, "PROTO_MAXIMUM_SUPPORTED", in PyInit__ssl()
6293 PyModule_AddIntConstant(m, "PROTO_SSLv3", PY_PROTO_SSLv3); in PyInit__ssl()
6294 PyModule_AddIntConstant(m, "PROTO_TLSv1", PY_PROTO_TLSv1); in PyInit__ssl()
6295 PyModule_AddIntConstant(m, "PROTO_TLSv1_1", PY_PROTO_TLSv1_1); in PyInit__ssl()
6296 PyModule_AddIntConstant(m, "PROTO_TLSv1_2", PY_PROTO_TLSv1_2); in PyInit__ssl()
6297 PyModule_AddIntConstant(m, "PROTO_TLSv1_3", PY_PROTO_TLSv1_3); in PyInit__ssl()