diff options
author | fiaxh <git@lightrise.org> | 2019-12-18 18:53:14 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-12-18 20:35:04 +0100 |
commit | c3532bdf3141bcf0cbf9e4ae7a926dcda4f132ef (patch) | |
tree | a6264c95b8cd05ea18abd4c811cdfed46f98d6af /plugins/crypto-vala | |
parent | 321c3529f3fedbd5eaa9cd619ee408fb683921ca (diff) | |
download | dino-c3532bdf3141bcf0cbf9e4ae7a926dcda4f132ef.tar.gz dino-c3532bdf3141bcf0cbf9e4ae7a926dcda4f132ef.zip |
Refactor MAM catchup. Fetch from latest to earliest message.
Diffstat (limited to 'plugins/crypto-vala')
-rw-r--r-- | plugins/crypto-vala/src/cipher_converter.vala | 4 |
1 files changed, 1 insertions, 3 deletions
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 +} |