Searched refs:certfile_bytes (Results 1 – 2 of 2) sorted by relevance
2728 char *certfile_bytes = NULL; in load_cert_chain() local2738 Py_FileSystemDefaultEncoding, &certfile_bytes, in load_cert_chain()2769 r = SSL_CTX_use_certificate_chain_file(self->ctx, certfile_bytes); in load_cert_chain()2787 keyfile_bytes ? PyBytes_AS_STRING(keyfile_bytes) : certfile_bytes, in load_cert_chain()2815 PyMem_Free(certfile_bytes); in load_cert_chain()2823 PyMem_Free(certfile_bytes); in load_cert_chain()
3974 PyObject *certfile_bytes = NULL, *keyfile_bytes = NULL; in _ssl__SSLContext_load_cert_chain_impl() local3984 if (!PyUnicode_FSConverter(certfile, &certfile_bytes)) { in _ssl__SSLContext_load_cert_chain_impl()4010 PyBytes_AS_STRING(certfile_bytes)); in _ssl__SSLContext_load_cert_chain_impl()4028 PyBytes_AS_STRING(keyfile ? keyfile_bytes : certfile_bytes), in _ssl__SSLContext_load_cert_chain_impl()4032 Py_CLEAR(certfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()4064 Py_XDECREF(certfile_bytes); in _ssl__SSLContext_load_cert_chain_impl()