summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/dom_sid.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libcli/security/dom_sid.c b/libcli/security/dom_sid.c
index 8a2ed1fccc..6a046cd806 100644
--- a/libcli/security/dom_sid.c
+++ b/libcli/security/dom_sid.c
@@ -96,20 +96,12 @@ bool dom_sid_parse(const char *sidstr, struct dom_sid *ret)
sidstr += 2;
- if (!isdigit(sidstr[0])) {
- return false;
- }
-
rev = strtoul(sidstr, &p, 10);
if (*p != '-') {
return false;
}
sidstr = p+1;
- if (!isdigit(sidstr[0])) {
- return false;
- }
-
ia = strtoul(sidstr, &p, 10);
if (p == sidstr) {
return false;
@@ -139,11 +131,6 @@ bool dom_sid_parse(const char *sidstr, struct dom_sid *ret)
return false;
}
sidstr++;
-
- if (!isdigit(sidstr[0])) {
- return false;
- }
-
ret->sub_auths[i] = strtoul(sidstr, &p, 10);
if (p == sidstr) {
return false;