git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eac926
)
Add const to cast, to fix warning
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 15 Jun 2009 13:46:58 +0000
(23:46 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 18 Jun 2009 03:49:25 +0000
(13:49 +1000)
libcli/auth/smbencrypt.c
patch
|
blob
|
history
diff --git
a/libcli/auth/smbencrypt.c
b/libcli/auth/smbencrypt.c
index 8d07b94806f58e24842c212cce3abc6bfa3f677e..4aacc54853751efb93eb220e056eb2dff7ae7440 100644
(file)
--- a/
libcli/auth/smbencrypt.c
+++ b/
libcli/auth/smbencrypt.c
@@
-155,7
+155,7
@@
void nt_lm_owf_gen(const char *pwd, uint8_t nt_p16[16], uint8_t p16[16])
#ifdef DEBUG_PASSWORD
DEBUG(100,("nt_lm_owf_gen: pwd, nt#\n"));
- dump_data(120, (uint8_t *)pwd, strlen(pwd));
+ dump_data(120, (
const
uint8_t *)pwd, strlen(pwd));
dump_data(100, nt_p16, 16);
#endif
@@
-163,7
+163,7
@@
void nt_lm_owf_gen(const char *pwd, uint8_t nt_p16[16], uint8_t p16[16])
#ifdef DEBUG_PASSWORD
DEBUG(100,("nt_lm_owf_gen: pwd, lm#\n"));
- dump_data(120, (uint8_t *)pwd, strlen(pwd));
+ dump_data(120, (
const
uint8_t *)pwd, strlen(pwd));
dump_data(100, p16, 16);
#endif
}