From: Richard Levitte Date: Mon, 6 Jan 2020 19:25:08 +0000 (+0100) Subject: Add missing inclusion of "internal/deprecated.h" X-Git-Tag: openssl-3.0.0-alpha1~735 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0081ce9b0201417cf2b35792a2a199e36acadcf2;p=thirdparty%2Fopenssl.git Add missing inclusion of "internal/deprecated.h" A few provider implementations need this to build correctly with a 'no-deprecated' configuration. Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/10766) --- diff --git a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c index 00b46c3f78b..6af46ce2aaa 100644 --- a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c +++ b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c @@ -7,8 +7,14 @@ * https://www.openssl.org/source/license.html */ -/* Dispatch functions for AES_CBC_HMAC_SHA ciphers */ +/* + * AES low level APIs are deprecated for public use, but still ok for internal + * use where we're using them to implement the higher level EVP interface, as is + * the case here. + */ +#include "internal/deprecated.h" +/* Dispatch functions for AES_CBC_HMAC_SHA ciphers */ #include "cipher_aes_cbc_hmac_sha.h" #include "prov/implementations.h" diff --git a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c index 125369d7ff1..056dd7866c9 100644 --- a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c +++ b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c @@ -7,6 +7,13 @@ * https://www.openssl.org/source/license.html */ +/* + * AES low level APIs are deprecated for public use, but still ok for internal + * use where we're using them to implement the higher level EVP interface, as is + * the case here. + */ +#include "internal/deprecated.h" + #include "cipher_aes_cbc_hmac_sha.h" #ifndef AES_CBC_HMAC_SHA_CAPABLE diff --git a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c index 43524762644..a7b3c199b3f 100644 --- a/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c +++ b/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c @@ -7,6 +7,13 @@ * https://www.openssl.org/source/license.html */ +/* + * AES low level APIs are deprecated for public use, but still ok for internal + * use where we're using them to implement the higher level EVP interface, as is + * the case here. + */ +#include "internal/deprecated.h" + #include "cipher_aes_cbc_hmac_sha.h" #ifndef AES_CBC_HMAC_SHA_CAPABLE