mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
wolfssl: Fix build if wolfSSL was built in OpenSSL-compat mode
This commit is contained in:
parent
3d426cbfee
commit
71f1091129
@ -32,6 +32,13 @@
|
|||||||
|
|
||||||
typedef struct private_wolfssl_crypter_t private_wolfssl_crypter_t;
|
typedef struct private_wolfssl_crypter_t private_wolfssl_crypter_t;
|
||||||
|
|
||||||
|
/* if wolfSSL is built in OpenSSL-compat mode, these are not defined as enums */
|
||||||
|
#ifdef WC_NO_COMPAT_AES_BLOCK_SIZE
|
||||||
|
#define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
|
||||||
|
#define CAMELLIA_BLOCK_SIZE WC_CAMELLIA_BLOCK_SIZE
|
||||||
|
#define DES_BLOCK_SIZE WC_DES_BLOCK_SIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CTR_SALT_LEN 4
|
#define CTR_SALT_LEN 4
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user