From fcd718c7d8a6850ae8719f23ed044b06b57501cd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 May 2004 17:50:17 +0000 Subject: r890: convert samba4 to use [u]int8_t instead of [u]int8 metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f) --- source4/libads/ldap.c | 2 +- source4/libads/sasl.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/libads') diff --git a/source4/libads/ldap.c b/source4/libads/ldap.c index 1e109ea5f2..b2afe8db26 100644 --- a/source4/libads/ldap.c +++ b/source4/libads/ldap.c @@ -1110,7 +1110,7 @@ struct uuid { uint32_t i1; uint16_t i2; uint16_t i3; - uint8 s[8]; + uint8_t s[8]; }; static void dump_guid(const char *field, struct berval **values) diff --git a/source4/libads/sasl.c b/source4/libads/sasl.c index e4c33aec4c..7604414365 100644 --- a/source4/libads/sasl.c +++ b/source4/libads/sasl.c @@ -31,8 +31,8 @@ static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads) const char *mechs[] = {OID_NTLMSSP, NULL}; DATA_BLOB msg1; DATA_BLOB blob, chal1, chal2, auth; - uint8 challenge[8]; - uint8 nthash[24], lmhash[24], sess_key[16]; + uint8_t challenge[8]; + uint8_t nthash[24], lmhash[24], sess_key[16]; uint32_t neg_flags; struct berval cred, *scred; ADS_STATUS status; @@ -245,7 +245,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads) struct berval *scred; int i=0; int gss_rc, rc; - uint8 *p; + uint8_t *p; uint32_t max_msg_size; char *sname; unsigned sec_layer; @@ -343,7 +343,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads) gss_release_buffer(&minor_status, &input_token); - p = (uint8 *)output_token.value; + p = (uint8_t *)output_token.value; file_save("sasl_gssapi.dat", output_token.value, output_token.length); -- cgit