diff options
Diffstat (limited to 'source3/libsmb/spnego.c')
-rw-r--r-- | source3/libsmb/spnego.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/spnego.c b/source3/libsmb/spnego.c index d69d25c0db..57b2d8060b 100644 --- a/source3/libsmb/spnego.c +++ b/source3/libsmb/spnego.c @@ -25,7 +25,7 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH -static BOOL read_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token) +static bool read_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token) { ZERO_STRUCTP(token); @@ -106,7 +106,7 @@ static BOOL read_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token) return !asn1->has_error; } -static BOOL write_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token) +static bool write_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token) { asn1_push_tag(asn1, ASN1_CONTEXT(0)); asn1_push_tag(asn1, ASN1_SEQUENCE(0)); @@ -169,7 +169,7 @@ static BOOL write_negTokenInit(ASN1_DATA *asn1, negTokenInit_t *token) return !asn1->has_error; } -static BOOL read_negTokenTarg(ASN1_DATA *asn1, negTokenTarg_t *token) +static bool read_negTokenTarg(ASN1_DATA *asn1, negTokenTarg_t *token) { ZERO_STRUCTP(token); @@ -212,7 +212,7 @@ static BOOL read_negTokenTarg(ASN1_DATA *asn1, negTokenTarg_t *token) return !asn1->has_error; } -static BOOL write_negTokenTarg(ASN1_DATA *asn1, negTokenTarg_t *token) +static bool write_negTokenTarg(ASN1_DATA *asn1, negTokenTarg_t *token) { asn1_push_tag(asn1, ASN1_CONTEXT(1)); asn1_push_tag(asn1, ASN1_SEQUENCE(0)); @@ -311,9 +311,9 @@ ssize_t write_spnego_data(DATA_BLOB *blob, SPNEGO_DATA *spnego) return ret; } -BOOL free_spnego_data(SPNEGO_DATA *spnego) +bool free_spnego_data(SPNEGO_DATA *spnego) { - BOOL ret = True; + bool ret = True; if (!spnego) goto out; |