diff options
author | Steve French <sfrench@us.ibm.com> | 2008-04-29 00:06:05 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-04-29 00:06:05 +0000 |
commit | 4b18f2a9c3964f7612b7403dddc1d1ba5443ae24 (patch) | |
tree | 6deaca1844706e70e235be6fe502269e4f15355f /fs/cifs/asn1.c | |
parent | e9f20d6f03e8df393b001dab6dc5226c2a5daf57 (diff) | |
download | kernel_samsung_espresso10-4b18f2a9c3964f7612b7403dddc1d1ba5443ae24.zip kernel_samsung_espresso10-4b18f2a9c3964f7612b7403dddc1d1ba5443ae24.tar.gz kernel_samsung_espresso10-4b18f2a9c3964f7612b7403dddc1d1ba5443ae24.tar.bz2 |
[CIFS] convert usage of implicit booleans to bool
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/asn1.c')
-rw-r--r-- | fs/cifs/asn1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/cifs/asn1.c b/fs/cifs/asn1.c index bcda2c6..cb52cbb 100644 --- a/fs/cifs/asn1.c +++ b/fs/cifs/asn1.c @@ -460,8 +460,8 @@ decode_negTokenInit(unsigned char *security_blob, int length, unsigned char *sequence_end; unsigned long *oid = NULL; unsigned int cls, con, tag, oidlen, rc; - int use_ntlmssp = FALSE; - int use_kerberos = FALSE; + bool use_ntlmssp = false; + bool use_kerberos = false; *secType = NTLM; /* BB eventually make Kerberos or NLTMSSP the default*/ @@ -561,15 +561,15 @@ decode_negTokenInit(unsigned char *security_blob, int length, if (compare_oid(oid, oidlen, MSKRB5_OID, MSKRB5_OID_LEN)) - use_kerberos = TRUE; + use_kerberos = true; else if (compare_oid(oid, oidlen, KRB5_OID, KRB5_OID_LEN)) - use_kerberos = TRUE; + use_kerberos = true; else if (compare_oid(oid, oidlen, NTLMSSP_OID, NTLMSSP_OID_LEN)) - use_ntlmssp = TRUE; + use_ntlmssp = true; kfree(oid); } |