1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r2285: Remove more static data, fix spelling in a comment.

This commit is contained in:
Andrew Bartlett 2004-09-11 23:05:08 +00:00 committed by Gerald (Jerry) Carter
parent a1fe175eec
commit 2c701f59a7
2 changed files with 3 additions and 3 deletions

View File

@ -107,8 +107,8 @@ void debug_ntlmssp_flags(uint32_t neg_flags)
static const uint8_t *get_challenge(const struct ntlmssp_state *ntlmssp_state)
{
static uint8_t chal[8];
generate_random_buffer(chal, sizeof(chal));
uint8_t *chal = talloc(ntlmssp_state->mem_ctx, 8);
generate_random_buffer(chal, 8);
return chal;
}

View File

@ -120,7 +120,7 @@ struct ntlmssp_state
* Callback to get the 'challenge' used for NTLM authentication.
*
* @param ntlmssp_state This structure
* @return 8 bytes of challnege data, determined by the server to be the challenge for NTLM authentication
* @return 8 bytes of challenge data, determined by the server to be the challenge for NTLM authentication
*
*/
const uint8_t *(*get_challenge)(const struct ntlmssp_state *ntlmssp_state);