diff options
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r-- | source4/libcli/auth/gensec_gssapi.c | 2 | ||||
-rw-r--r-- | source4/libcli/auth/gensec_krb5.c | 6 | ||||
-rw-r--r-- | source4/libcli/auth/kerberos.c | 1 | ||||
-rw-r--r-- | source4/libcli/auth/kerberos_verify.c | 1 |
4 files changed, 6 insertions, 4 deletions
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 |