From ee2993abd0830ec27a2dd49e07db8d0eb5f3e579 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 14 Jan 2020 09:15:18 +1000 Subject: Deprecate the low level RC2 functions Use of the low level RC2 functions has been informally discouraged for a long time. We now formally deprecate them. Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex, EVP_EncryptUpdate, EVP_EncryptFinal_ex, and the equivalently named decrypt functions. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10834) --- crypto/rc2/rc2cfb64.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/rc2/rc2cfb64.c') diff --git a/crypto/rc2/rc2cfb64.c b/crypto/rc2/rc2cfb64.c index 9b85368db1..298be79d44 100644 --- a/crypto/rc2/rc2cfb64.c +++ b/crypto/rc2/rc2cfb64.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * RC2 low level APIs are deprecated for public use, but still ok for internal + * use. + */ +#include "internal/deprecated.h" + #include #include "rc2_local.h" -- cgit v1.2.3