diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-29 11:57:28 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-29 17:06:22 +0100 |
commit | c9b6ad25004caab854cf6301faa472bb5c890a71 (patch) | |
tree | d9f5cac23ec60076f87c8af0f5392348690a3636 /source3/auth | |
parent | fbb59b2dcac1ce4d952c17d010ebf3bcfca863cd (diff) | |
download | samba-c9b6ad25004caab854cf6301faa472bb5c890a71.tar.gz samba-c9b6ad25004caab854cf6301faa472bb5c890a71.tar.bz2 samba-c9b6ad25004caab854cf6301faa472bb5c890a71.zip |
s3:ntlmssp: change get_challange() to return NTSTATUS
metze
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_ntlmssp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index f95a235909..4243a24ca7 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -28,13 +28,14 @@ * @return an 8 byte random challenge */ -static void auth_ntlmssp_get_challenge(const struct ntlmssp_state *ntlmssp_state, - uint8_t chal[8]) +static NTSTATUS auth_ntlmssp_get_challenge(const struct ntlmssp_state *ntlmssp_state, + uint8_t chal[8]) { AUTH_NTLMSSP_STATE *auth_ntlmssp_state = (AUTH_NTLMSSP_STATE *)ntlmssp_state->auth_context; auth_ntlmssp_state->auth_context->get_ntlm_challenge( auth_ntlmssp_state->auth_context, chal); + return NT_STATUS_OK; } /** |