auth4: make auth_check_password_wrapper() static
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 10:41:04 +0000 (11:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Mar 2017 10:57:09 +0000 (11:57 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/auth.h
source4/auth/ntlm/auth.c

index 7c623182ec60a41ebc2aad8e984e718d06ad92b7..feddb463c33a3c4139b3e4f768f75242ec1f10f7 100644 (file)
@@ -145,12 +145,6 @@ NTSTATUS auth_context_create(TALLOC_CTX *mem_ctx,
                             struct loadparm_context *lp_ctx,
                             struct auth4_context **auth_ctx);
 
-NTSTATUS auth_check_password_wrapper(struct auth4_context *auth_ctx,
-                            TALLOC_CTX *mem_ctx,
-                            const struct auth_usersupplied_info *user_info, 
-                            void **server_returned_info,
-                            DATA_BLOB *user_session_key, DATA_BLOB *lm_session_key);
-
 NTSTATUS auth_check_password(struct auth4_context *auth_ctx,
                             TALLOC_CTX *mem_ctx,
                             const struct auth_usersupplied_info *user_info, 
index 05d6c3cb75edbb498910d0b7390b79237bc05ffa..22602441d82dce9174d887baa143b6ac7fa76134 100644 (file)
@@ -184,11 +184,11 @@ _PUBLIC_ NTSTATUS auth_check_password(struct auth4_context *auth_ctx,
        return status;
 }
 
-_PUBLIC_ NTSTATUS auth_check_password_wrapper(struct auth4_context *auth_ctx,
-                                             TALLOC_CTX *mem_ctx,
-                                             const struct auth_usersupplied_info *user_info, 
-                                             void **server_returned_info,
-                                             DATA_BLOB *user_session_key, DATA_BLOB *lm_session_key)
+static NTSTATUS auth_check_password_wrapper(struct auth4_context *auth_ctx,
+                                           TALLOC_CTX *mem_ctx,
+                                           const struct auth_usersupplied_info *user_info,
+                                           void **server_returned_info,
+                                           DATA_BLOB *user_session_key, DATA_BLOB *lm_session_key)
 {
        struct auth_user_info_dc *user_info_dc;
        NTSTATUS status;