mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 04:34:41 +02:00
Merge pull request #8228 from douzzer/20241126-WC_NO_COMPAT_AES_BLOCK_SIZE
20241126-WC_NO_COMPAT_AES_BLOCK_SIZE
This commit is contained in:
@@ -189,7 +189,15 @@ enum {
|
||||
#endif
|
||||
|
||||
WC_AES_BLOCK_SIZE = 16,
|
||||
#ifndef OPENSSL_COEXIST
|
||||
#ifdef OPENSSL_COEXIST
|
||||
/* allow OPENSSL_COEXIST applications to detect absence of AES_BLOCK_SIZE
|
||||
* and presence of WC_AES_BLOCK_SIZE.
|
||||
*
|
||||
* if WC_NO_COMPAT_AES_BLOCK_SIZE is defined, WC_AES_BLOCK_SIZE is
|
||||
* available, otherwise AES_BLOCK_SIZE is available.
|
||||
*/
|
||||
#define WC_NO_COMPAT_AES_BLOCK_SIZE
|
||||
#else
|
||||
#define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user