mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
r22001: change prototype of dump_data(), so that it takes unsigned char * now,
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
8f55fe4e46
commit
fa322f0cc9
@@ -1150,10 +1150,10 @@ void init_id_info1(NET_ID_INFO_1 *id, const char *domain_name,
|
||||
unsigned char key[16];
|
||||
#ifdef DEBUG_PASSWORD
|
||||
DEBUG(100,("lm cypher:"));
|
||||
dump_data(100, (char *)lm_cypher, 16);
|
||||
dump_data(100, lm_cypher, 16);
|
||||
|
||||
DEBUG(100,("nt cypher:"));
|
||||
dump_data(100, (char *)nt_cypher, 16);
|
||||
dump_data(100, nt_cypher, 16);
|
||||
#endif
|
||||
|
||||
memset(key, 0, 16);
|
||||
@@ -1166,10 +1166,10 @@ void init_id_info1(NET_ID_INFO_1 *id, const char *domain_name,
|
||||
|
||||
#ifdef DEBUG_PASSWORD
|
||||
DEBUG(100,("encrypt of lm owf password:"));
|
||||
dump_data(100, (char *)lm_owf, 16);
|
||||
dump_data(100, lm_owf, 16);
|
||||
|
||||
DEBUG(100,("encrypt of nt owf password:"));
|
||||
dump_data(100, (char *)nt_owf, 16);
|
||||
dump_data(100, nt_owf, 16);
|
||||
#endif
|
||||
/* set up pointers to cypher blocks */
|
||||
lm_cypher = lm_owf;
|
||||
|
||||
Reference in New Issue
Block a user