diff --git a/packages/openwrt/README.md b/packages/openwrt/README.md index 23b8422..ec0c65a 100644 --- a/packages/openwrt/README.md +++ b/packages/openwrt/README.md @@ -1,4 +1,4 @@ -## Instructions +## Compilation From the OpenWRT build directory: @@ -8,3 +8,11 @@ cp -r n2n/packages/openwrt package/n2n make menuconfig # select Network -> VPN -> n2n-edge and n2n-supernode make package/n2n/compile V=s ``` + +## Configuration + +The edge node can be started with `/etc/init.d/edge start`. +Its configuration file is `/etc/config/n2n-edge.conf`. + +The supernode can be started with `/etc/init.d/supernode start`. +Its configuration file is `/etc/config/n2n-supernode.conf`. diff --git a/transform_aes.c b/transform_aes.c index 36bbfbf..af03701 100644 --- a/transform_aes.c +++ b/transform_aes.c @@ -21,13 +21,8 @@ #ifdef N2N_HAVE_AES -#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)