diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2023-03-16 15:39:05 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-04-28 02:15:36 +0000 |
commit | 2398faef2300ec6942c396484957058597be9b02 (patch) | |
tree | 329b44c906e4a4bffbe55de4534640029549f097 /libcli | |
parent | fe8ce9e34e35a61acf9114b2c3e52d2a63d2944c (diff) | |
download | samba-2398faef2300ec6942c396484957058597be9b02.tar.gz |
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>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/security/dom_sid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcli/security/dom_sid.c b/libcli/security/dom_sid.c index 891d3c5e17c..7d6b11089cd 100644 --- a/libcli/security/dom_sid.c +++ b/libcli/security/dom_sid.c @@ -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; |