]> source.dussan.org Git - rspamd.git/commitdiff
Fix splits.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 7 May 2015 14:28:29 +0000 (15:28 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 7 May 2015 14:28:29 +0000 (15:28 +0100)
src/libcryptobox/cryptobox.c

index e6bd45c94d176c16c5beaf93bca8a9be3ce2b747..9bfb2946c1293bc8f23094546d1a61cb42c96df9 100644 (file)
@@ -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;
                                }
                        }