From f21054decd18934eb4996549c1be82ab175a067b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 7 May 2015 15:28:29 +0100 Subject: [PATCH] Fix splits. --- src/libcryptobox/cryptobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index e6bd45c94..9bfb2946c 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -286,7 +286,7 @@ void rspamd_cryptobox_encryptv_nm_inplace (struct rspamd_cryptobox_segment *segm else { memcpy (outbuf, in, inremain); remain = sizeof (outbuf) - inremain; - + out = outbuf + inremain; inremain = 0; } } -- 2.39.5