* 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"
}
}
}
-#endif