From 5f86acee91ec7d64fc53ce52db43e92d3b317945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Sat, 9 Feb 2019 16:17:07 +0000 Subject: [PATCH] Fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mud.c b/mud.c index cbc8fe3..d6d689d 100644 --- a/mud.c +++ b/mud.c @@ -856,11 +856,11 @@ mud_keyx(struct mud *mud, unsigned char *remote, int aes) return 0; crypto_aead_aes256gcm_beforenm((crypto_aead_aes256gcm_state *) - mud->crypto.next.encrypt.state, + &mud->crypto.next.encrypt.state, mud->crypto.next.encrypt.key); crypto_aead_aes256gcm_beforenm((crypto_aead_aes256gcm_state *) - mud->crypto.next.decrypt.state, + &mud->crypto.next.decrypt.state, mud->crypto.next.decrypt.key); return 0;