summaryrefslogtreecommitdiff
path: root/source4/torture/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-05-09 16:10:03 -0700
committerJeremy Allison <jra@samba.org>2017-05-11 20:30:13 +0200
commitb2de5a81bf2e5a79b101859c738fc057af7308ed (patch)
tree439e0d660e3ab059deb4b0108170f3a31a9a8d70 /source4/torture/auth
parentdd4a3ce92792c4687f92d4b9e88f7bbee6cad593 (diff)
downloadsamba-b2de5a81bf2e5a79b101859c738fc057af7308ed.tar.gz
s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials().
Add one use of popt_set_cmdline_credentials(). Fix 80 column limits when cmdline_credentials changes to popt_get_cmdline_credentials(). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/torture/auth')
-rw-r--r--source4/torture/auth/ntlmssp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/auth/ntlmssp.c b/source4/torture/auth/ntlmssp.c
index 45e58890eb6..6d24a1839cb 100644
--- a/source4/torture/auth/ntlmssp.c
+++ b/source4/torture/auth/ntlmssp.c
@@ -41,7 +41,7 @@ static bool torture_ntlmssp_self_check(struct torture_context *tctx)
lpcfg_gensec_settings(tctx, tctx->lp_ctx)),
"gensec client start");
- gensec_set_credentials(gensec_security, cmdline_credentials);
+ gensec_set_credentials(gensec_security, popt_get_cmdline_credentials());
gensec_want_feature(gensec_security, GENSEC_FEATURE_SIGN);
gensec_want_feature(gensec_security, GENSEC_FEATURE_SEAL);
@@ -98,7 +98,7 @@ static bool torture_ntlmssp_self_check(struct torture_context *tctx)
lpcfg_gensec_settings(tctx, tctx->lp_ctx)),
"Failed to start GENSEC for NTLMSSP");
- gensec_set_credentials(gensec_security, cmdline_credentials);
+ gensec_set_credentials(gensec_security, popt_get_cmdline_credentials());
gensec_want_feature(gensec_security, GENSEC_FEATURE_SIGN);
gensec_want_feature(gensec_security, GENSEC_FEATURE_SEAL);