summary refs log tree commit diff
path: root/resolv/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-08-30 10:02:49 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-08-30 10:02:49 +0200
commit78b1a4f0e49064e5dfb686c7cd87bd4df2640b29 (patch)
treebe976bf8d066d0242eb737678c97dd939a5dab0f /resolv/Makefile
parent394085a34d25a51513019a4dc411acd3527fbd33 (diff)
downloadglibc-78b1a4f0e49064e5dfb686c7cd87bd4df2640b29.tar.gz
glibc-78b1a4f0e49064e5dfb686c7cd87bd4df2640b29.tar.xz
glibc-78b1a4f0e49064e5dfb686c7cd87bd4df2640b29.zip
resolv: Add internal __ns_name_length_uncompressed function
This function is useful for checking that the question name is
uncompressed (as it should be).

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'resolv/Makefile')
-rw-r--r--resolv/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index ec61ad07bd..bf28825f60 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -40,6 +40,7 @@ routines := \
   inet_pton \
   ns_makecanon \
   ns_name_compress \
+  ns_name_length_uncompressed \
   ns_name_ntop \
   ns_name_pack \
   ns_name_pton \
@@ -111,6 +112,10 @@ tests-static += tst-resolv-txnid-collision
 tests-internal += tst-ns_samebinaryname
 tests-static += tst-ns_samebinaryname
 
+# Likewise for __ns_name_length_uncompressed.
+tests-internal += tst-ns_name_length_uncompressed
+tests-static += tst-ns_name_length_uncompressed
+
 # These tests need libdl.
 ifeq (yes,$(build-shared))
 tests += \