From 2398faef2300ec6942c396484957058597be9b02 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 16 Mar 2023 15:39:05 +1300 Subject: 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 Reviewed-by: Andrew Bartlett --- libcli/security/dom_sid.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libcli') 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; -- cgit v1.2.1