build: allow to use argon2 system library

allow to use system argon2 library, use system library by default:
* add --with(out)-argon2 configure options
* add -DOPENDHT_ARGON2=(On/Off) cmake option

also bump argon2 to latest git
This commit is contained in:
Adrien Beraud committed 2017-03-13 14:58:25 +01:00
1 parent 36206a80fc
commit d5427df9eb
25 files changed
+438 -432

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ extern "C" {
#include <nettle/gcm.h>
#include <nettle/aes.h>
#include "argon2/argon2.h"
#include <argon2.h>
}
#include <random>