summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Kraai <mkraai@beckman.com>2010-01-05 09:39:56 -0800
committerStefan Metzmacher <metze@samba.org>2010-02-02 07:18:16 +0100
commitd4fc2e82012277e5e8570da5d08d62c6847a99c0 (patch)
tree0b4e51f5e948a155ccfa82fc8b05f3135656a386 /lib
parenta2c95a5d961594f2accbb032cd7e8da9767e2e47 (diff)
downloadsamba-d4fc2e82012277e5e8570da5d08d62c6847a99c0.tar.gz
samba-d4fc2e82012277e5e8570da5d08d62c6847a99c0.tar.bz2
samba-d4fc2e82012277e5e8570da5d08d62c6847a99c0.zip
Change uint_t to unsigned int in lib/crypto
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/crypto/md5.c b/lib/crypto/md5.c
index 584c46ef2d..566aacaf28 100644
--- a/lib/crypto/md5.c
+++ b/lib/crypto/md5.c
@@ -28,12 +28,12 @@ static void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
/*
* Note: this code is harmless on little-endian machines.
*/
-static void byteReverse(uint8_t *buf, uint_t longs)
+static void byteReverse(uint8_t *buf, unsigned int longs)
{
uint32_t t;
do {
- t = (uint32_t) ((uint_t) buf[3] << 8 | buf[2]) << 16 |
- ((uint_t) buf[1] << 8 | buf[0]);
+ t = (uint32_t) ((unsigned int) buf[3] << 8 | buf[2]) << 16 |
+ ((unsigned int) buf[1] << 8 | buf[0]);
*(uint32_t *) buf = t;
buf += 4;
} while (--longs);
@@ -108,7 +108,7 @@ _PUBLIC_ void MD5Update(struct MD5Context *ctx, const uint8_t *buf, size_t len)
*/
_PUBLIC_ void MD5Final(uint8_t digest[16], struct MD5Context *ctx)
{
- uint_t count;
+ unsigned int count;
uint8_t *p;
/* Compute number of bytes mod 64 */