From b572584bdb8c82eab8168e161cbbd57f81e60437 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 27 Apr 2015 19:15:45 +0000 Subject: [PATCH] - initialize reserved --- src/cadet/gnunet-service-cadet_tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 6a218ac09..97762ea74 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -1834,6 +1834,7 @@ send_prebuilt_message (const struct GNUNET_MessageHeader *message, msg = &ax_msg->header; msg->size = htons (sizeof (struct GNUNET_CADET_AX) + size); msg->type = htons (GNUNET_MESSAGE_TYPE_CADET_AX); + ax_msg->reserved = 0; esize = t_ax_encrypt (t, &ax_msg[1], message, size); ax_msg->Ns = htonl (t->ax->Ns++); ax_msg->PNs = htonl (t->ax->PNs); -- 2.25.1