]> source.dussan.org Git - rspamd.git/commitdiff
Fix arguments order
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 10 Feb 2016 23:02:16 +0000 (23:02 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 10 Feb 2016 23:02:16 +0000 (23:02 +0000)
src/libcryptobox/cryptobox.c

index 1971e42cefa2d25013fce767eac3252580bd6ca7..fe2cff29e9be63b24b42ee040e091c2ebc7d0e0e 100644 (file)
@@ -1105,7 +1105,7 @@ rspamd_cryptobox_encryptv_nm_inplace (struct rspamd_cryptobox_segment *segments,
 
        rspamd_cryptobox_flush_outbuf (start_seg, outbuf, sizeof (outbuf) - remain,
                        seg_offset);
-       rspamd_cryptobox_cleanup (auth_ctx, enc_ctx, mode);
+       rspamd_cryptobox_cleanup (enc_ctx, auth_ctx, mode);
 }
 
 gboolean