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()
3971 PyObject *cafile_bytes = NULL, *capath_bytes = NULL; in _ssl__SSLContext_load_verify_locations_impl() local3988 if (cafile && !PyUnicode_FSConverter(cafile, &cafile_bytes)) { in _ssl__SSLContext_load_verify_locations_impl()4040 cafile_buf = PyBytes_AS_STRING(cafile_bytes); in _ssl__SSLContext_load_verify_locations_impl()4063 Py_XDECREF(cafile_bytes); in _ssl__SSLContext_load_verify_locations_impl()