mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
libcli/security/dom_sid: remove a couple of lost comments
The second one came with code obsoleting the "BIG NOTE" about 10 years ago, but that code later wandered off somewhere else. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
fe8ce9e34e
commit
2398faef23
@ -132,7 +132,6 @@ bool dom_sid_parse_endp(const char *sidstr,struct dom_sid *sidout,
|
||||
{
|
||||
const char *p;
|
||||
char *q;
|
||||
/* BIG NOTE: this function only does SIDS where the identauth is not >= 2^32 */
|
||||
uint64_t conv;
|
||||
int error = 0;
|
||||
|
||||
@ -166,7 +165,6 @@ bool dom_sid_parse_endp(const char *sidstr,struct dom_sid *sidout,
|
||||
goto format_error;
|
||||
}
|
||||
|
||||
/* When identauth >= UINT32_MAX, it's in hex with a leading 0x */
|
||||
/* NOTE - the conv value is in big-endian format. */
|
||||
sidout->id_auth[0] = (conv & 0xff0000000000ULL) >> 40;
|
||||
sidout->id_auth[1] = (conv & 0x00ff00000000ULL) >> 32;
|
||||
|
Loading…
Reference in New Issue
Block a user