1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

kdc: Improve code clarity with extra brackets

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep  5 16:17:59 CEST 2018 on sn-devel-144
This commit is contained in:
Andrew Bartlett 2018-09-03 12:50:39 +12:00
parent 41473daf09
commit aa07400f73

View File

@ -914,7 +914,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
krb5_clear_error_message(context);
goto out;
}
} else if (flags & SDB_F_CANON && flags & SDB_F_FOR_AS_REQ) {
} else if ((flags & SDB_F_CANON) && (flags & SDB_F_FOR_AS_REQ)) {
/*
* SDB_F_CANON maps from the canonicalize flag in the
* packet, and has a different meaning between AS-REQ