summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-19 17:39:13 +0200
committerVolker Lendecke <vl@samba.org>2009-06-20 18:54:07 +0200
commitecf8cebf322717d6aea3f9f05ec9d210ffbb4aa6 (patch)
tree35941bfec459256976e81075553103b4aae88533 /source3/lib/tldap.c
parent361db1866812f7b189a3ea550e061c3977c15425 (diff)
downloadsamba-ecf8cebf322717d6aea3f9f05ec9d210ffbb4aa6.tar.gz
samba-ecf8cebf322717d6aea3f9f05ec9d210ffbb4aa6.tar.bz2
samba-ecf8cebf322717d6aea3f9f05ec9d210ffbb4aa6.zip
Move asn1_blob() to lib/util/asn1.c
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 7a36310ee4..4d2cd86f75 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -318,19 +318,6 @@ static ssize_t read_ldap_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
return talloc_get_size(*pbuf);
}
-static bool asn1_blob(const struct asn1_data *asn1, DATA_BLOB *blob)
-{
- if (asn1->has_error) {
- return false;
- }
- if (asn1->nesting != NULL) {
- return false;
- }
- blob->data = asn1->data;
- blob->length = asn1->length;
- return true;
-}
-
static void asn1_load_nocopy(struct asn1_data *data, uint8_t *buf, size_t len)
{
ZERO_STRUCTP(data);