summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcli/ldap/ldap_message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/ldap/ldap_message.c b/libcli/ldap/ldap_message.c
index 1e4421442c..394151879c 100644
--- a/libcli/ldap/ldap_message.c
+++ b/libcli/ldap/ldap_message.c
@@ -1609,5 +1609,5 @@ _PUBLIC_ NTSTATUS ldap_decode(struct asn1_data *data,
*/
NTSTATUS ldap_full_packet(void *private_data, DATA_BLOB blob, size_t *packet_size)
{
- return asn1_full_tag(blob, ASN1_SEQUENCE(0), packet_size);
+ return asn1_peek_full_tag(blob, ASN1_SEQUENCE(0), packet_size);
}