Add support for libcrypto headers

This commit is contained in:
emanuele-f 2019-07-06 23:38:49 +02:00
parent 4aff8938ac
commit 7cc73aec62

View File

@ -21,8 +21,13 @@
#ifdef N2N_HAVE_AES
#include "openssl/aes.h"
#include "openssl/sha.h"
#ifdef USE_LIBCRYPTO_PATH
#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_IVEC_SIZE (AES_BLOCK_SIZE)