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)