summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-01-06 16:59:35 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:53 +0100
commit48d815787924ec8ef4c421c91149a170d474533a (patch)
tree549786e2186c09dcc5f83a76d976b0cfb6594fdf /source4/auth
parenta69260642e9a08a1f3eceed2f77d5c246b171765 (diff)
downloadsamba-48d815787924ec8ef4c421c91149a170d474533a.tar.gz
samba-48d815787924ec8ef4c421c91149a170d474533a.tar.bz2
samba-48d815787924ec8ef4c421c91149a170d474533a.zip
s4:ntlmssp: copy dump_arc4_state() from source3
metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/ntlmssp/ntlmssp_sign.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp_sign.c b/source4/auth/ntlmssp/ntlmssp_sign.c
index e487427403..89cc0888cc 100644
--- a/source4/auth/ntlmssp/ntlmssp_sign.c
+++ b/source4/auth/ntlmssp/ntlmssp_sign.c
@@ -40,6 +40,12 @@
*
*/
+static void dump_arc4_state(const char *description,
+ struct arcfour_state *state)
+{
+ dump_data_pw(description, state->sbox, sizeof(state->sbox));
+}
+
static void calc_ntlmv2_key(uint8_t subkey[16],
DATA_BLOB session_key,
const char *constant)