summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-01-02 15:02:44 +0100
committerGary Lockyer <gary@samba.org>2020-01-06 01:47:30 +0000
commitd034e839df0898d9db0dc00c1ccf2f113f1787f1 (patch)
tree06b3d7c46bb17606e6086b52fb06d251ec5152f4 /source3/auth
parentbcf944445837e7cdd611dc89fe931575fa771017 (diff)
downloadsamba-d034e839df0898d9db0dc00c1ccf2f113f1787f1.tar.gz
auth3: Avoid a casts in auth3_check_password()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_ntlmssp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index 2e345e17571..8c2e10ce6ec 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -220,15 +220,15 @@ NTSTATUS auth3_check_password(struct auth4_context *auth4_context,
* NTLMSSP code will decide on the final correct session key,
* and supply it to create_local_token() */
if (session_key) {
- DEBUG(10, ("Got NT session key of length %u\n",
- (unsigned int)server_info->session_key.length));
+ DBG_DEBUG("Got NT session key of length %zu\n",
+ server_info->session_key.length);
*session_key = server_info->session_key;
talloc_steal(mem_ctx, server_info->session_key.data);
server_info->session_key = data_blob_null;
}
if (lm_session_key) {
- DEBUG(10, ("Got LM session key of length %u\n",
- (unsigned int)server_info->lm_session_key.length));
+ DBG_DEBUG("Got LM session key of length %zu\n",
+ server_info->lm_session_key.length);
*lm_session_key = server_info->lm_session_key;
talloc_steal(mem_ctx, server_info->lm_session_key.data);
server_info->lm_session_key = data_blob_null;