From 7cc73aec62f2caf18497679b58f14fe02b257019 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Sat, 6 Jul 2019 23:38:49 +0200 Subject: [PATCH] Add support for libcrypto headers --- transform_aes.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/transform_aes.c b/transform_aes.c index 53af2d6..36bbfbf 100644 --- a/transform_aes.c +++ b/transform_aes.c @@ -21,8 +21,13 @@ #ifdef N2N_HAVE_AES -#include "openssl/aes.h" -#include "openssl/sha.h" +#ifdef USE_LIBCRYPTO_PATH +#include +#include +#else +#include +#include +#endif #define N2N_AES_TRANSFORM_VERSION 1 /* version of the transform encoding */ #define N2N_AES_IVEC_SIZE (AES_BLOCK_SIZE)