* https://www.openssl.org/source/license.html
*/
+/* The AES_ige_* functions are deprecated, so we suppress warnings about them */
+#define OPENSSL_SUPPRESS_DEPRECATED
+
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include <openssl/rand.h>
#include "internal/nelem.h"
#include "testutil.h"
-#if !OPENSSL_API_3
+#ifndef OPENSSL_NO_DEPRECATED_3_0
# define TEST_SIZE 128
# define BIG_TEST_SIZE 10240
int setup_tests(void)
{
-#if !OPENSSL_API_3
+#ifndef OPENSSL_NO_DEPRECATED_3_0
RAND_bytes(rkey, sizeof(rkey));
RAND_bytes(rkey2, sizeof(rkey2));
RAND_bytes(plaintext, sizeof(plaintext));