Use build.info, not ifdef for crypto modules
[openssl.git] / crypto / aes / aes_ige.c
index 3300e518d2481d0e0a257d021445d4eb689d9de5..6e72d2f7f42456ea303c23ebbaaaa8ad2ee2fe9d 100644 (file)
@@ -7,11 +7,13 @@
  * https://www.openssl.org/source/license.html
  */
 
-#include "internal/cryptlib.h"
+/*
+ * AES_encrypt/AES_decrypt are deprecated - but we need to use them to implement
+ * these functions
+ */
+#include "internal/deprecated.h"
 
-#ifdef OPENSSL_NO_DEPRECATED_3_0
-NON_EMPTY_TRANSLATION_UNIT
-#else
+#include "internal/cryptlib.h"
 
 #include <openssl/aes.h>
 #include "aes_local.h"
@@ -295,4 +297,3 @@ void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
         }
     }
 }
-#endif