diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-12-13 19:56:13 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-03-27 00:36:32 +0100 |
commit | 2103c373b44871810197fa8e423f55a659a8b89d (patch) | |
tree | 9a4d00a7b35b21fc9ddf9a9a667b3e5255019de0 /source4/torture | |
parent | 01575faf678d4280733c2a4c657e370b9b847b69 (diff) | |
download | samba-2103c373b44871810197fa8e423f55a659a8b89d.tar.gz samba-2103c373b44871810197fa8e423f55a659a8b89d.tar.xz samba-2103c373b44871810197fa8e423f55a659a8b89d.zip |
auth/gensec: remove tevent_context argument from gensec_update()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/dns/dlz_bind9.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/remote_pac.c | 12 | ||||
-rw-r--r-- | source4/torture/winbind/winbind.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/source4/torture/dns/dlz_bind9.c b/source4/torture/dns/dlz_bind9.c index d7d1736a6fa..b7d6957bd62 100644 --- a/source4/torture/dns/dlz_bind9.c +++ b/source4/torture/dns/dlz_bind9.c @@ -170,7 +170,7 @@ static bool test_dlz_bind9_gensec(struct torture_context *tctx, const char *mech server_to_client = data_blob(NULL, 0); /* Do one step of the client-server update dance */ - status = gensec_update(gensec_client_context, tctx, tctx->ev, server_to_client, &client_to_server); + status = gensec_update(gensec_client_context, tctx, server_to_client, &client_to_server); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (client) failed"); } diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c index b95773f81e5..e7e6dfdb46e 100644 --- a/source4/torture/rpc/remote_pac.c +++ b/source4/torture/rpc/remote_pac.c @@ -195,12 +195,12 @@ static bool test_PACVerify(struct torture_context *tctx, do { /* Do a client-server update dance */ - status = gensec_update(gensec_client_context, tmp_ctx, tctx->ev, server_to_client, &client_to_server); + status = gensec_update(gensec_client_context, tmp_ctx, server_to_client, &client_to_server); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (client) failed"); } - status = gensec_update(gensec_server_context, tmp_ctx, tctx->ev, client_to_server, &server_to_client); + status = gensec_update(gensec_server_context, tmp_ctx, client_to_server, &server_to_client); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (server) failed"); } @@ -589,12 +589,12 @@ static bool test_S2U4Self(struct torture_context *tctx, do { /* Do a client-server update dance */ - status = gensec_update(gensec_client_context, tmp_ctx, tctx->ev, server_to_client, &client_to_server); + status = gensec_update(gensec_client_context, tmp_ctx, server_to_client, &client_to_server); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (client) failed"); } - status = gensec_update(gensec_server_context, tmp_ctx, tctx->ev, client_to_server, &server_to_client); + status = gensec_update(gensec_server_context, tmp_ctx, client_to_server, &server_to_client); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (server) failed"); } @@ -646,12 +646,12 @@ static bool test_S2U4Self(struct torture_context *tctx, do { /* Do a client-server update dance */ - status = gensec_update(gensec_client_context, tmp_ctx, tctx->ev, server_to_client, &client_to_server); + status = gensec_update(gensec_client_context, tmp_ctx, server_to_client, &client_to_server); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (client) failed"); } - status = gensec_update(gensec_server_context, tmp_ctx, tctx->ev, client_to_server, &server_to_client); + status = gensec_update(gensec_server_context, tmp_ctx, client_to_server, &server_to_client); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (server) failed"); } diff --git a/source4/torture/winbind/winbind.c b/source4/torture/winbind/winbind.c index 65382a9083f..35d6c93b4e7 100644 --- a/source4/torture/winbind/winbind.c +++ b/source4/torture/winbind/winbind.c @@ -224,12 +224,12 @@ static bool torture_winbind_pac(struct torture_context *tctx) do { /* Do a client-server update dance */ - status = gensec_update(gensec_client_context, tmp_ctx, tctx->ev, server_to_client, &client_to_server); + status = gensec_update(gensec_client_context, tmp_ctx, server_to_client, &client_to_server); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (client) failed"); } - status = gensec_update(gensec_server_context, tmp_ctx, tctx->ev, client_to_server, &server_to_client); + status = gensec_update(gensec_server_context, tmp_ctx, client_to_server, &server_to_client); if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {; torture_assert_ntstatus_ok(tctx, status, "gensec_update (server) failed"); } |