indicate deprecated functionality

This commit is contained in:
Markus Triska
2024-03-16 21:23:12 +01:00
parent e1a6b5eb03
commit ee60c463c8

View File

@@ -664,6 +664,8 @@ crypto_data_decrypt(CipherText0, Algorithm, Key, IV, PlainText, Options) :-
encoding_chars(octet, Bs, Cs) :-
must_be(list, Bs),
( maplist(integer, Bs) ->
% the ability to use integers is deprecated and a
% candidate for removal in the future!
maplist(char_code, Cs, Bs)
; Bs = Cs
),