From 674483a4c6efa3f72604df539bc3e1d74eb6b5ec Mon Sep 17 00:00:00 2001 From: Markus Triska Date: Thu, 6 Aug 2020 23:17:08 +0200 Subject: [PATCH] remove entailed constraint --- src/lib/crypto.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/crypto.pl b/src/lib/crypto.pl index af03e7d6..1f78c8cb 100644 --- a/src/lib/crypto.pl +++ b/src/lib/crypto.pl @@ -592,7 +592,6 @@ crypto_data_decrypt(CipherText0, Algorithm, Key, IV, PlainText, Options) :- encoding_chars(Encoding, AAD0, AAD), must_be(atom, Encoding), member(Encoding, [utf8,octet]), - must_be(list, CipherText0), encoding_chars(octet, CipherText0, CipherText1), maplist(char_code, TagChars, Tag), append(CipherText1, TagChars, CipherText), -- 2.54.0