Searched refs:keyfile_bytes (Results 1 – 2 of 2) sorted by relevance
2727 PyObject *keyfile = NULL, *keyfile_bytes = NULL, *password = NULL; in load_cert_chain() local2745 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()
3974 PyObject *certfile_bytes = NULL, *keyfile_bytes = NULL; in _ssl__SSLContext_load_cert_chain_impl() local3991 if (keyfile && !PyUnicode_FSConverter(keyfile, &keyfile_bytes)) { in _ssl__SSLContext_load_cert_chain_impl()4028 PyBytes_AS_STRING(keyfile ? keyfile_bytes : certfile_bytes), in _ssl__SSLContext_load_cert_chain_impl()4031 Py_CLEAR(keyfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()4063 Py_XDECREF(keyfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()