Latest update.
This commit is contained in:
+5
-2
@@ -7,6 +7,9 @@
|
||||
* 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>
|
||||
@@ -15,7 +18,7 @@
|
||||
#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
|
||||
@@ -438,7 +441,7 @@ static int test_bi_ige_garble3(void)
|
||||
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user