From f5196b01945501fe1701f728f4b92a742cdff4d7 Mon Sep 17 00:00:00 2001
From: ulfvonbelow <striness@tilde.club>
Date: Fri, 3 May 2024 14:12:31 -0500
Subject: [PATCH] messenger: make fields of GNUNET_MESSENGER_RoomEntryRecord
 packed.

---
 src/include/gnunet_messenger_service.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/gnunet_messenger_service.h b/src/include/gnunet_messenger_service.h
index 1bc68b87b..c47a1522f 100644
--- a/src/include/gnunet_messenger_service.h
+++ b/src/include/gnunet_messenger_service.h
@@ -86,12 +86,12 @@ struct GNUNET_MESSENGER_RoomEntryRecord
   /**
    * The peer identity of an open door to a room.
    */
-  struct GNUNET_PeerIdentity door;
+  struct GNUNET_PeerIdentity door GNUNET_PACKED;
 
   /**
    * The hash identifying the port of the room.
    */
-  struct GNUNET_HashCode key;
+  struct GNUNET_HashCode key GNUNET_PACKED;
 };
 
 GNUNET_NETWORK_STRUCT_END
-- 
2.41.0

