diff options
-rw-r--r-- | libcli/security/dom_sid.h | 1 | ||||
-rw-r--r-- | libcli/security/util_sid.c | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/libcli/security/dom_sid.h b/libcli/security/dom_sid.h index 04571c21de..5886ce31c6 100644 --- a/libcli/security/dom_sid.h +++ b/libcli/security/dom_sid.h @@ -89,7 +89,6 @@ void sid_copy(struct dom_sid *dst, const struct dom_sid *src); bool sid_blob_parse(DATA_BLOB in, struct dom_sid *sid); bool sid_parse(const char *inbuf, size_t len, struct dom_sid *sid); int sid_compare_domain(const struct dom_sid *sid1, const struct dom_sid *sid2); -bool sid_equal(const struct dom_sid *sid1, const struct dom_sid *sid2); NTSTATUS add_sid_to_array(TALLOC_CTX *mem_ctx, const struct dom_sid *sid, struct dom_sid **sids, uint32_t *num); NTSTATUS add_sid_to_array_unique(TALLOC_CTX *mem_ctx, const struct dom_sid *sid, diff --git a/libcli/security/util_sid.c b/libcli/security/util_sid.c index dd27b7c20d..0f95fbb845 100644 --- a/libcli/security/util_sid.c +++ b/libcli/security/util_sid.c @@ -275,15 +275,6 @@ int sid_compare_domain(const struct dom_sid *sid1, const struct dom_sid *sid2) return dom_sid_compare_auth(sid1, sid2); } -/***************************************************************** - Compare two sids. -*****************************************************************/ - -bool sid_equal(const struct dom_sid *sid1, const struct dom_sid *sid2) -{ - return dom_sid_compare(sid1, sid2) == 0; -} - /******************************************************************** Add SID to an array SIDs ********************************************************************/ |