Add missing inclusion of "internal/deprecated.h"
authorRichard Levitte <levitte@openssl.org>
Mon, 6 Jan 2020 19:25:08 +0000 (20:25 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 6 Jan 2020 19:25:08 +0000 (20:25 +0100)
A few provider implementations need this to build correctly with a
'no-deprecated' configuration.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10766)

providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c

index 00b46c3f78b24e6fd2b8c300a1df61e79ebdfe02..6af46ce2aaa9ba323f51aafa27f2c8aadf98fdcf 100644 (file)
@@ -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"
index 125369d7ff1944a9866078ae798df1e4165d5781..056dd7866c9f503aa6b5beb5e05d0e7682ca3f82 100644 (file)
@@ -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
index 4352476264415e88005769cda3753824c9c6f757..a7b3c199b3f27e5f6be6e4d796109593144ec891 100644 (file)
@@ -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