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:
parent
5bb35cc7cc
commit
9567d753ac
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user