Update openwrt readme

This commit is contained in:
emanuele-f 2019-07-07 00:46:25 +02:00
parent 9e09ddc326
commit bf0ad28b4b
2 changed files with 9 additions and 6 deletions

View File

@ -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`.

View File

@ -21,13 +21,8 @@
#ifdef N2N_HAVE_AES
#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)