summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcli/security/dom_sid.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcli/security/dom_sid.c b/libcli/security/dom_sid.c
index 6a046cd806..9952977fa9 100644
--- a/libcli/security/dom_sid.c
+++ b/libcli/security/dom_sid.c
@@ -113,10 +113,6 @@ bool dom_sid_parse(const char *sidstr, struct dom_sid *ret)
if (sidstr[i] == '-') num_sub_auths++;
}
- if (num_sub_auths > ARRAY_SIZE(ret->sub_auths)) {
- return false;
- }
-
ret->sid_rev_num = rev;
ret->id_auth[0] = 0;
ret->id_auth[1] = 0;