From a76658fe6658d5f1782ac37569289dddc0e9d1a5 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 27 Apr 2015 19:15:31 +0000 Subject: [PATCH] - fix size output, don't include headers --- src/cadet/gnunet-service-cadet_tunnel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 2baf10962..28e6aa383 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c @@ -1462,8 +1462,8 @@ t_ax_decrypt_and_validate (struct CadetTunnel *t, void *dst, ax->Nr = Np; - osize = t_ax_decrypt (t, dst, &src[1], size); - if (osize != size) + osize = t_ax_decrypt (t, dst, &src[1], esize); + if (osize != esize) { GNUNET_break_op (0); return -1; -- 2.25.1