Searched refs:cafile_bytes (Results 1 – 2 of 2) sorted by relevance
2918 PyObject *cafile_bytes = NULL, *capath_bytes = NULL; in load_verify_locations() local2944 cafile_bytes = cafile; in load_verify_locations()2949 cafile_bytes = PyUnicode_AsEncodedString( in load_verify_locations()2952 if (!cafile_bytes) in load_verify_locations()3011 if (cafile_bytes || capath_bytes) { in load_verify_locations()3013 cafile_buf = PyBytes_AS_STRING(cafile_bytes); in load_verify_locations()3039 Py_XDECREF(cafile_bytes); in load_verify_locations()
4169 PyObject *cafile_bytes = NULL, *capath_bytes = NULL; in _ssl__SSLContext_load_verify_locations_impl() local4186 if (cafile && !PyUnicode_FSConverter(cafile, &cafile_bytes)) { in _ssl__SSLContext_load_verify_locations_impl()4250 cafile_buf = PyBytes_AS_STRING(cafile_bytes); in _ssl__SSLContext_load_verify_locations_impl()4272 Py_XDECREF(cafile_bytes); in _ssl__SSLContext_load_verify_locations_impl()