summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-19 18:20:20 +0200
committerVolker Lendecke <vl@samba.org>2009-06-20 18:54:07 +0200
commit22cb9bdfd3c3a6a036db08c9c10d7c2530167fc3 (patch)
treebe209568a457fbb0a28554e8c9d8a5c639dd934e /source3
parentecf8cebf322717d6aea3f9f05ec9d210ffbb4aa6 (diff)
downloadsamba-22cb9bdfd3c3a6a036db08c9c10d7c2530167fc3.tar.gz
samba-22cb9bdfd3c3a6a036db08c9c10d7c2530167fc3.tar.bz2
samba-22cb9bdfd3c3a6a036db08c9c10d7c2530167fc3.zip
Move asn1_load_nocopy() to lib/util/asn1.c
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/tldap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 4d2cd86f75..2033b4fa59 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -318,13 +318,6 @@ static ssize_t read_ldap_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
return talloc_get_size(*pbuf);
}
-static void asn1_load_nocopy(struct asn1_data *data, uint8_t *buf, size_t len)
-{
- ZERO_STRUCTP(data);
- data->data = buf;
- data->length = len;
-}
-
struct tldap_msg_state {
struct tldap_context *ld;
struct tevent_context *ev;