6372e2
From 96f169464ea6ec54192c4e5307a9e3f4c85927e1 Mon Sep 17 00:00:00 2001
6372e2
From: Masahiro Matsuya <mmatsuya@redhat.com>
6372e2
Date: Thu, 4 Apr 2024 15:07:34 +0900
6372e2
Subject: [PATCH] Rebuild required for BIND changes for KeyTrap change
6372e2
6372e2
---
6372e2
 src/mldap.c | 13 +------------
6372e2
 1 file changed, 1 insertion(+), 12 deletions(-)
6372e2
6372e2
diff --git a/src/mldap.c b/src/mldap.c
6372e2
index 088c7cb..501e106 100644
6372e2
--- a/src/mldap.c
6372e2
+++ b/src/mldap.c
6372e2
@@ -50,18 +50,7 @@
6372e2
 static unsigned char uuid_rootname_ndata[]
6372e2
 	= { 4, 'u', 'u', 'i', 'd', 4, 'l', 'd', 'a', 'p', 0 };
6372e2
 static unsigned char uuid_rootname_offsets[] = { 0, 5, 10 };
6372e2
-static dns_name_t uuid_rootname =
6372e2
-{
6372e2
-	DNS_NAME_MAGIC,
6372e2
-	uuid_rootname_ndata,
6372e2
-	sizeof(uuid_rootname_ndata),
6372e2
-	sizeof(uuid_rootname_offsets),
6372e2
-	DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE,
6372e2
-	uuid_rootname_offsets,
6372e2
-	NULL,
6372e2
-	{ (void *)-1, (void *)-1 },
6372e2
-	{ NULL, NULL }
6372e2
-};
6372e2
+static dns_name_t uuid_rootname = DNS_NAME_INITABSOLUTE(uuid_rootname_ndata, uuid_rootname_offsets);
6372e2
 
6372e2
 struct mldapdb {
6372e2
 	isc_mem_t	*mctx;
6372e2
-- 
6372e2
2.43.0
6372e2