Home
last modified time | relevance | path

Searched refs:capath_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
2959 capath_bytes = capath; in load_verify_locations()
2964 capath_bytes = PyUnicode_AsEncodedString( in load_verify_locations()
2967 if (!capath_bytes) in load_verify_locations()
3011 if (cafile_bytes || capath_bytes) { in load_verify_locations()
3015 capath_buf = PyBytes_AS_STRING(capath_bytes); in load_verify_locations()
3040 Py_XDECREF(capath_bytes); in load_verify_locations()
/external/python/cpython3/Modules/
D_ssl.c4169 PyObject *cafile_bytes = NULL, *capath_bytes = NULL; in _ssl__SSLContext_load_verify_locations_impl() local
4193 if (capath && !PyUnicode_FSConverter(capath, &capath_bytes)) { in _ssl__SSLContext_load_verify_locations_impl()
4252 capath_buf = PyBytes_AS_STRING(capath_bytes); in _ssl__SSLContext_load_verify_locations_impl()
4273 Py_XDECREF(capath_bytes); in _ssl__SSLContext_load_verify_locations_impl()