summaryrefslogtreecommitdiff
path: root/libcli/auth/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-14 15:56:23 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-14 19:49:24 +0200
commitd727fcc867866127e84f6f997a2b8e132584616c (patch)
tree7fa2038df01aacec4a6fd3be724992f5613228c8 /libcli/auth/proto.h
parent5879358437b78d671ed2e51ee74d9ac167da9071 (diff)
downloadsamba-d727fcc867866127e84f6f997a2b8e132584616c.tar.gz
samba-d727fcc867866127e84f6f997a2b8e132584616c.tar.bz2
samba-d727fcc867866127e84f6f997a2b8e132584616c.zip
libcli/auth: add some const to SMBNTencrypt_hash() and SMBNTencrypt()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 19:49:24 CEST 2011 on sn-devel-104
Diffstat (limited to 'libcli/auth/proto.h')
-rw-r--r--libcli/auth/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h
index 34a0052f7a..3d05474217 100644
--- a/libcli/auth/proto.h
+++ b/libcli/auth/proto.h
@@ -112,8 +112,8 @@ bool ntv2_owf_gen(const uint8_t owf[16],
bool upper_case_domain, /* Transform the domain into UPPER case */
uint8_t kr_buf[16]);
void SMBOWFencrypt(const uint8_t passwd[16], const uint8_t *c8, uint8_t p24[24]);
-void SMBNTencrypt_hash(const uint8_t nt_hash[16], uint8_t *c8, uint8_t *p24);
-void SMBNTencrypt(const char *passwd, uint8_t *c8, uint8_t *p24);
+void SMBNTencrypt_hash(const uint8_t nt_hash[16], const uint8_t *c8, uint8_t *p24);
+void SMBNTencrypt(const char *passwd, const uint8_t *c8, uint8_t *p24);
void SMBOWFencrypt_ntv2(const uint8_t kr[16],
const DATA_BLOB *srv_chal,
const DATA_BLOB *smbcli_chal,