mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Add support for libcrypto headers
This commit is contained in:
parent
4aff8938ac
commit
7cc73aec62
|
@ -21,8 +21,13 @@
|
||||||
|
|
||||||
#ifdef N2N_HAVE_AES
|
#ifdef N2N_HAVE_AES
|
||||||
|
|
||||||
#include "openssl/aes.h"
|
#ifdef USE_LIBCRYPTO_PATH
|
||||||
#include "openssl/sha.h"
|
#include <crypto/aes.h>
|
||||||
|
#include <crypto/sha.h>
|
||||||
|
#else
|
||||||
|
#include <openssl/aes.h>
|
||||||
|
#include <openssl/sha.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define N2N_AES_TRANSFORM_VERSION 1 /* version of the transform encoding */
|
#define N2N_AES_TRANSFORM_VERSION 1 /* version of the transform encoding */
|
||||||
#define N2N_AES_IVEC_SIZE (AES_BLOCK_SIZE)
|
#define N2N_AES_IVEC_SIZE (AES_BLOCK_SIZE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user