Home
last modified time | relevance | path

Searched refs:cafile_bytes (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
D_ssl.c2918 PyObject *cafile_bytes = NULL, *capath_bytes = NULL; in load_verify_locations() local
2944 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()
/external/python/cpython3/Modules/
D_ssl.c3971 PyObject *cafile_bytes = NULL, *capath_bytes = NULL; in _ssl__SSLContext_load_verify_locations_impl() local
3988 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()