1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

s4:pyrpc: let py_iface_transport_encrypted() use dcerpc_binding_handle_transport_encrypted()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-09-14 13:35:47 +02:00 committed by Ralph Boehme
parent 5bb35cc7cc
commit 9567d753ac

View File

@ -296,7 +296,7 @@ static PyObject *py_iface_transport_encrypted(PyObject *self)
{
dcerpc_InterfaceObject *iface = (dcerpc_InterfaceObject *)self;
if (dcerpc_transport_encrypted(iface->pipe)) {
if (dcerpc_binding_handle_transport_encrypted(iface->binding_handle)) {
Py_RETURN_TRUE;
}