Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_ssl.c2727 PyObject *keyfile = NULL, *keyfile_bytes = NULL, *password = NULL; in load_cert_chain() local
2745 keyfile_bytes = keyfile; in load_cert_chain()
2750 keyfile_bytes = PyUnicode_AsEncodedString( in load_cert_chain()
2753 if (!keyfile_bytes) in load_cert_chain()
2787 keyfile_bytes ? PyBytes_AS_STRING(keyfile_bytes) : certfile_bytes, in load_cert_chain()
2813 Py_XDECREF(keyfile_bytes); in load_cert_chain()
2821 Py_XDECREF(keyfile_bytes); in load_cert_chain()
/external/python/cpython3/Modules/
D_ssl.c3780 PyObject *certfile_bytes = NULL, *keyfile_bytes = NULL; in _ssl__SSLContext_load_cert_chain_impl() local
3795 if (keyfile && !PyUnicode_FSConverter(keyfile, &keyfile_bytes)) { in _ssl__SSLContext_load_cert_chain_impl()
3830 PyBytes_AS_STRING(keyfile ? keyfile_bytes : certfile_bytes), in _ssl__SSLContext_load_cert_chain_impl()
3833 Py_CLEAR(keyfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()
3865 Py_XDECREF(keyfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()