diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-02-13 16:56:46 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-02-13 16:56:46 +1100 |
commit | 0ccdb5f74a0cbb97f3028101ea606f00bd1f73d8 (patch) | |
tree | f866dbd135fa394b993cad989b679a43447fff8f /source4/torture | |
parent | 0d222a692442d01eb24b20735e6020bd2ce47738 (diff) | |
download | samba-0ccdb5f74a0cbb97f3028101ea606f00bd1f73d8.tar.gz samba-0ccdb5f74a0cbb97f3028101ea606f00bd1f73d8.tar.bz2 samba-0ccdb5f74a0cbb97f3028101ea606f00bd1f73d8.zip |
Remove useless invocation of messaging_init() in RPC-PAC test
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/remote_pac.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c index 5603152ddb..53754e02af 100644 --- a/source4/torture/rpc/remote_pac.c +++ b/source4/torture/rpc/remote_pac.c @@ -61,7 +61,6 @@ static bool test_PACVerify(struct torture_context *tctx, struct gensec_security *gensec_client_context; struct gensec_security *gensec_server_context; - struct messaging_context *msg_server_ctx; DATA_BLOB client_to_server, server_to_client, pac_wrapped, payload; struct PAC_Validate pac_wrapped_struct; @@ -84,14 +83,6 @@ static bool test_PACVerify(struct torture_context *tctx, status = torture_temp_dir(tctx, "PACVerify", &tmp_dir); torture_assert_ntstatus_ok(tctx, status, "torture_temp_dir failed"); - msg_server_ctx = messaging_init(tctx, - tmp_dir, - cluster_id(0, 1), - lp_iconv_convenience(tctx->lp_ctx), - tctx->ev); - - torture_assert(tctx, msg_server_ctx != NULL, "Failed to init messaging context"); - status = gensec_client_start(tctx, &gensec_client_context, tctx->ev, lp_gensec_settings(tctx, tctx->lp_ctx)); torture_assert_ntstatus_ok(tctx, status, "gensec_client_start (client) failed"); |