]> 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:08:54 +0000 (23:08 +0000)
src/libcryptobox/cryptobox.c

index d2d64a9d065b5548915f30b45e2739cd1f1b0047..6b5251b6e2b7178eea4117b626ff74ba085a59fb 100644 (file)
@@ -1078,7 +1078,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);
+       rspamd_cryptobox_cleanup (enc_ctx, auth_ctx);
 }
 
 gboolean