diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-17 12:20:30 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-08-17 12:30:08 +0200 |
commit | 28b237b2cc04d10275cea6890bda425b41cf62f7 (patch) | |
tree | 7969cc3612acdb631afc7888ac36f703e5f3dc40 /libcli/security | |
parent | 8fd5e0ff2e08288d499556b5b48dcc7a9a3fc85f (diff) | |
download | samba-28b237b2cc04d10275cea6890bda425b41cf62f7.tar.gz samba-28b237b2cc04d10275cea6890bda425b41cf62f7.tar.bz2 samba-28b237b2cc04d10275cea6890bda425b41cf62f7.zip |
Remove unused "sid_equal"
Diffstat (limited to 'libcli/security')
-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 ********************************************************************/ |