From 1a6d3a9304b551e739377e014673fe8462ce0719 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 27 Apr 2015 19:15:34 +0000 Subject: [PATCH] - allow just message headers (keepalive uses this) --- src/cadet/gnunet-service-cadet_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 28e6aa383..e8f06579a 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -1074,7 +1074,7 @@ t_ax_decrypt (struct CadetTunnel *t, void *dst, const void *src, size_t size) GNUNET_h2s ((struct GNUNET_HashCode *) &MK)); #endif - GNUNET_assert (size > sizeof (struct GNUNET_MessageHeader)); + GNUNET_assert (size >= sizeof (struct GNUNET_MessageHeader)); out_size = GNUNET_CRYPTO_symmetric_decrypt (src, size, &MK, &iv, dst); GNUNET_assert (out_size == size); -- 2.25.1