From: Stefan Metzmacher Date: Fri, 17 Mar 2017 15:53:27 +0000 (+0100) Subject: auth3: merge make_auth_context_subsystem() into make_auth3_context_for_ntlm() X-Git-Tag: tdb-1.3.13~149 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=45227b301fba492edfb57fb52e66564c1ee2de6b;p=samba.git auth3: merge make_auth_context_subsystem() into make_auth3_context_for_ntlm() make_auth3_context_for_ntlm() was the only caller of make_auth_context_subsystem(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12710 Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 916c524cb68..2c92140194d 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -500,8 +500,8 @@ static NTSTATUS make_auth_context_specific(TALLOC_CTX *mem_ctx, Make a auth_context struct for the auth subsystem ***************************************************************************/ -static NTSTATUS make_auth_context_subsystem(TALLOC_CTX *mem_ctx, - struct auth_context **auth_context) +NTSTATUS make_auth3_context_for_ntlm(TALLOC_CTX *mem_ctx, + struct auth_context **auth_context) { const char *methods = NULL; NTSTATUS nt_status; @@ -550,12 +550,6 @@ static NTSTATUS make_auth_context_subsystem(TALLOC_CTX *mem_ctx, return make_auth_context_specific(mem_ctx, auth_context, methods); } -NTSTATUS make_auth3_context_for_ntlm(TALLOC_CTX *mem_ctx, - struct auth_context **auth_context) -{ - return make_auth_context_subsystem(mem_ctx, auth_context); -} - NTSTATUS make_auth3_context_for_netlogon(TALLOC_CTX *mem_ctx, struct auth_context **auth_context) {