From 9567d753ac0fcffb50f3710f3329334afb7595cd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 14 Sep 2024 13:35:47 +0200 Subject: [PATCH] s4:pyrpc: let py_iface_transport_encrypted() use dcerpc_binding_handle_transport_encrypted() Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- source4/librpc/rpc/pyrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index 3f1a8679d3e..28ffdc71d65 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -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; }