From 4857227f111446954da3b202d7318feb6fba705c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 10 Feb 2016 23:02:16 +0000 Subject: [PATCH] Fix arguments order --- 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 1971e42cef..fe2cff29e9 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -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 -- 2.47.3