diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-04-17 22:35:33 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-04-28 02:24:57 +0200 |
commit | 086c06e361962e1c118d8eed2316e9df7834ae8b (patch) | |
tree | 22609078f318ab8e45acda1765026e7cb60a9852 /source4/torture/auth | |
parent | 7a26989d4c62f38dcafc2a688b8cbaccc6499480 (diff) | |
download | samba-086c06e361962e1c118d8eed2316e9df7834ae8b.tar.gz |
kerberos: Remove un-used event context argument from smb_krb5_init_context()
The event context here was only specified in the server or admin-tool
context, which does not do network communication, so this only caused
a talloc_reference() and never any useful result.
The actual network communication code sets an event context directly
before making the network call.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Apr 28 02:24:57 CEST 2014 on sn-devel-104
Diffstat (limited to 'source4/torture/auth')
-rw-r--r-- | source4/torture/auth/pac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c index 64a843c07fc..c019c09672c 100644 --- a/source4/torture/auth/pac.c +++ b/source4/torture/auth/pac.c @@ -60,7 +60,6 @@ static bool torture_pac_self_check(struct torture_context *tctx) TALLOC_CTX *mem_ctx = tctx; torture_assert(tctx, 0 == smb_krb5_init_context(mem_ctx, - NULL, tctx->lp_ctx, &smb_krb5_context), "smb_krb5_init_context"); @@ -317,7 +316,7 @@ static bool torture_pac_saved_check(struct torture_context *tctx) time_t authtime; TALLOC_CTX *mem_ctx = tctx; - torture_assert(tctx, 0 == smb_krb5_init_context(mem_ctx, NULL, + torture_assert(tctx, 0 == smb_krb5_init_context(mem_ctx, tctx->lp_ctx, &smb_krb5_context), "smb_krb5_init_context"); |