summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-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);