From: Andrew Bartlett Date: Tue, 21 May 2019 02:15:36 +0000 (+1200) Subject: Remove unused auth_get_challenge_not_implemented X-Git-Tag: ldb-2.0.5~693 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=433296c614f9fcab1b6390662a0f915395c9fc82;p=thirdparty%2Fsamba.git Remove unused auth_get_challenge_not_implemented This became unused after eba87995145b0e14672c1f6993f7aa3422d62541 in 2012 Found by callcatcher Signed-off-by: Andrew Bartlett Reviewed-by: Gary Lockyer --- diff --git a/source4/auth/ntlm/auth_util.c b/source4/auth/ntlm/auth_util.c index af89130466b..7e72cb5123d 100644 --- a/source4/auth/ntlm/auth_util.c +++ b/source4/auth/ntlm/auth_util.c @@ -32,15 +32,6 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH -/* this default function can be used by mostly all backends - * which don't want to set a challenge - */ -NTSTATUS auth_get_challenge_not_implemented(struct auth_method_context *ctx, TALLOC_CTX *mem_ctx, uint8_t chal[8]) -{ - /* we don't want to set a challenge */ - return NT_STATUS_NOT_IMPLEMENTED; -} - /**************************************************************************** Create an auth_usersupplied_data structure after appropriate mapping. ****************************************************************************/