diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-29 08:11:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:21 -0500 |
commit | 45e93c19ef95978f908f5b14962770510634cd3b (patch) | |
tree | 79e3dd4cb4154b6a90ceaa5fe8d56413a02ebf0e /source4/smb_server | |
parent | d9538e7412c593a9dc10a600676939d2cf0205ea (diff) | |
download | samba-45e93c19ef95978f908f5b14962770510634cd3b.tar.gz samba-45e93c19ef95978f908f5b14962770510634cd3b.tar.bz2 samba-45e93c19ef95978f908f5b14962770510634cd3b.zip |
r943: change samba4 to use 'uint8_t' instead of 'unsigned char'
metze
(This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/signing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/signing.c b/source4/smb_server/signing.c index 76cd506aea..0ac271a255 100644 --- a/source4/smb_server/signing.c +++ b/source4/smb_server/signing.c @@ -37,7 +37,7 @@ static void mark_packet_signed(struct request_context *req) static void calc_signature(uint8_t *buffer, size_t length, DATA_BLOB *mac_key, uint8_t signature[8]) { - unsigned char calc_md5_mac[16]; + uint8_t calc_md5_mac[16]; struct MD5Context md5_ctx; MD5Init(&md5_ctx); @@ -106,7 +106,7 @@ static void req_signing_alloc_seq_num(struct request_context *req) */ BOOL req_signing_check_incoming(struct request_context *req) { - unsigned char client_md5_mac[8], signature[8]; + uint8_t client_md5_mac[8], signature[8]; switch (req->smb->signing.signing_state) { case SMB_SIGNING_OFF: |