From 8674eaa5cc9b1ddeb65f05527a5b539f15e4afcb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Feb 2005 05:22:53 +0000 Subject: r5300: more uint32 and system/filesys.h build fixes when developer mode is enabled (This used to be commit 93931b1a741a3722c311ada80c4c9d3d670f91b2) --- source4/libcli/auth/gensec_gssapi.c | 2 +- source4/libcli/auth/gensec_krb5.c | 6 +++--- source4/libcli/auth/kerberos.c | 1 + source4/libcli/auth/kerberos_verify.c | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'source4/libcli') diff --git a/source4/libcli/auth/gensec_gssapi.c b/source4/libcli/auth/gensec_gssapi.c index 43113412f7..41f36b2703 100644 --- a/source4/libcli/auth/gensec_gssapi.c +++ b/source4/libcli/auth/gensec_gssapi.c @@ -316,7 +316,7 @@ static NTSTATUS gensec_gssapi_unwrap(struct gensec_security *gensec_security, } static BOOL gensec_gssapi_have_feature(struct gensec_security *gensec_security, - uint32 feature) + uint32_t feature) { struct gensec_gssapi_state *gensec_gssapi_state = gensec_security->private_data; if (feature & GENSEC_FEATURE_SIGN) { diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c index e5bfd3865a..a0c2a77f4b 100644 --- a/source4/libcli/auth/gensec_krb5.c +++ b/source4/libcli/auth/gensec_krb5.c @@ -489,7 +489,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security, { krb5_data inbuf; krb5_ap_rep_enc_part *repl = NULL; - uint8 tok_id[2]; + uint8_t tok_id[2]; DATA_BLOB unwrapped_in; if (!gensec_gssapi_parse_krb5_wrap(out_mem_ctx, &in, &unwrapped_in, tok_id)) { @@ -525,7 +525,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security, char *principal; DATA_BLOB unwrapped_in; DATA_BLOB unwrapped_out = data_blob(NULL, 0); - uint8 tok_id[2]; + uint8_t tok_id[2]; if (!in.data) { *out = unwrapped_out; @@ -689,7 +689,7 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security } static BOOL gensec_krb5_have_feature(struct gensec_security *gensec_security, - uint32 feature) + uint32_t feature) { if (feature & GENSEC_FEATURE_SESSION_KEY) { return True; diff --git a/source4/libcli/auth/kerberos.c b/source4/libcli/auth/kerberos.c index a8d9d75a1e..4bf9e626ce 100644 --- a/source4/libcli/auth/kerberos.c +++ b/source4/libcli/auth/kerberos.c @@ -26,6 +26,7 @@ #include "libcli/auth/kerberos.h" #include "system/time.h" #include "secrets.h" +#include "pstring.h" #ifdef HAVE_KRB5 diff --git a/source4/libcli/auth/kerberos_verify.c b/source4/libcli/auth/kerberos_verify.c index b089d633ed..2aef38fcd9 100644 --- a/source4/libcli/auth/kerberos_verify.c +++ b/source4/libcli/auth/kerberos_verify.c @@ -28,6 +28,7 @@ #include "asn_1.h" #include "lib/ldb/include/ldb.h" #include "secrets.h" +#include "pstring.h" #ifdef HAVE_KRB5 -- cgit