From c6fec81b88131d08c1022504ccf6effa95497afb Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 16 Jan 2020 13:50:03 +1000 Subject: Deprecate the low level DES functions. Use of the low level DES 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/10858) --- providers/implementations/kdfs/krb5kdf.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'providers/implementations/kdfs') diff --git a/providers/implementations/kdfs/krb5kdf.c b/providers/implementations/kdfs/krb5kdf.c index 08a9495929..ed111708f4 100644 --- a/providers/implementations/kdfs/krb5kdf.c +++ b/providers/implementations/kdfs/krb5kdf.c @@ -7,6 +7,12 @@ * https://www.openssl.org/source/license.html */ +/* + * DES low level APIs are deprecated for public use, but still ok for internal + * use. We access the DES_set_odd_parity(3) function here. + */ +#include "internal/deprecated.h" + #include #include #include -- cgit v1.2.3