From c3532bdf3141bcf0cbf9e4ae7a926dcda4f132ef Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 18 Dec 2019 18:53:14 +0100 Subject: Refactor MAM catchup. Fetch from latest to earliest message. --- plugins/crypto-vala/src/cipher_converter.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/crypto-vala') diff --git a/plugins/crypto-vala/src/cipher_converter.vala b/plugins/crypto-vala/src/cipher_converter.vala index f1363fb0..b2b52c5a 100644 --- a/plugins/crypto-vala/src/cipher_converter.vala +++ b/plugins/crypto-vala/src/cipher_converter.vala @@ -85,9 +85,7 @@ public class SymmetricCipherDecrypter : SymmetricCipherConverter { inbuf.length += (int) attached_taglen; if ((flags & ConverterFlags.INPUT_AT_END) != 0) { if (attached_taglen > 0) { - print("Checking tag\n"); check_tag(inbuf[(inbuf.length - attached_taglen):inbuf.length]); - print("tag ok\n"); bytes_read = inbuf.length; } return ConverterResult.FINISHED; @@ -101,4 +99,4 @@ public class SymmetricCipherDecrypter : SymmetricCipherConverter { } } } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2