summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/ldap/common.c b/source4/torture/ldap/common.c
index 7051403abb..a0fe31d0e9 100644
--- a/source4/torture/ldap/common.c
+++ b/source4/torture/ldap/common.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "asn_1.h"
NTSTATUS torture_ldap_bind(struct ldap_connection *conn, const char *userdn, const char *password)
{
@@ -111,7 +112,7 @@ BOOL ldap_sasl_send_msg(struct ldap_connection *conn, struct ldap_message *msg,
DATA_BLOB creds;
DATA_BLOB pdu;
int len;
- ASN1_DATA asn1;
+ struct asn1_data asn1;
TALLOC_CTX *mem_ctx;
msg->messageid = conn->next_msgid++;