summaryrefslogtreecommitdiff
path: root/libcli/auth
diff options
context:
space:
mode:
authorMatt Kraai <mkraai@beckman.com>2010-01-05 09:41:24 -0800
committerStefan Metzmacher <metze@samba.org>2010-02-02 07:18:17 +0100
commitaa6a507e76685f2a8d1f3bd33cbf0fbdeb0d69ce (patch)
tree11684012b24917253f89856169995c593d958485 /libcli/auth
parenta7250eb14270101d4ca580acd8fdcaf7e308e515 (diff)
downloadsamba-aa6a507e76685f2a8d1f3bd33cbf0fbdeb0d69ce.tar.gz
samba-aa6a507e76685f2a8d1f3bd33cbf0fbdeb0d69ce.tar.bz2
samba-aa6a507e76685f2a8d1f3bd33cbf0fbdeb0d69ce.zip
Change uint_t to unsigned int in libcli
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/msrpc_parse.c2
-rw-r--r--libcli/auth/proto.h2
-rw-r--r--libcli/auth/smbdes.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libcli/auth/msrpc_parse.c b/libcli/auth/msrpc_parse.c
index 50e0d5c2f9..336611d132 100644
--- a/libcli/auth/msrpc_parse.c
+++ b/libcli/auth/msrpc_parse.c
@@ -333,7 +333,7 @@ bool msrpc_parse(TALLOC_CTX *mem_ctx,
break;
case 'b':
b = (DATA_BLOB *)va_arg(ap, void *);
- len1 = va_arg(ap, uint_t);
+ len1 = va_arg(ap, unsigned int);
/* make sure its in the right format - be strict */
NEED_DATA(len1);
if (blob->data + head_ofs < (uint8_t *)head_ofs ||
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h
index e09cdee518..2ab795ffc2 100644
--- a/libcli/auth/proto.h
+++ b/libcli/auth/proto.h
@@ -193,7 +193,7 @@ void des_crypt128(uint8_t out[8], const uint8_t in[8], const uint8_t key[16]);
void des_crypt64(uint8_t out[8], const uint8_t in[8], const uint8_t key[8], int forw);
void des_crypt112(uint8_t out[8], const uint8_t in[8], const uint8_t key[14], int forw);
void des_crypt112_16(uint8_t out[16], uint8_t in[16], const uint8_t key[14], int forw);
-void sam_rid_crypt(uint_t rid, const uint8_t *in, uint8_t *out, int forw);
+void sam_rid_crypt(unsigned int rid, const uint8_t *in, uint8_t *out, int forw);
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2)
diff --git a/libcli/auth/smbdes.c b/libcli/auth/smbdes.c
index 32e65e779d..f052b27de9 100644
--- a/libcli/auth/smbdes.c
+++ b/libcli/auth/smbdes.c
@@ -367,7 +367,7 @@ void des_crypt112_16(uint8_t out[16], uint8_t in[16], const uint8_t key[14], int
/* Decode a sam password hash into a password. The password hash is the
same method used to store passwords in the NT registry. The DES key
used is based on the RID of the user. */
-void sam_rid_crypt(uint_t rid, const uint8_t *in, uint8_t *out, int forw)
+void sam_rid_crypt(unsigned int rid, const uint8_t *in, uint8_t *out, int forw)
{
uint8_t s[14];