diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/configure | 4 | ||||
-rw-r--r-- | src/options.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/configure b/src/configure index 90a5739..542b4b4 100755 --- a/src/configure +++ b/src/configure @@ -60,6 +60,7 @@ print_usage() { echo " --no-manpage dont't install manpage" echo " --examplesdir=<DIR> the path to the examples files (default: $PREFIX/share/examples)" echo " --no-examples dont't install example files" + echo " --use-gcrypt use libgcrypt (this is the default)" echo " --use-ssl-crypto use ssl crypto library instead of libgcrypt" echo " --no-crypto disable crypto at all (only NULL cipher)" echo " --disable-passphrase disable master key and salt passphrase" @@ -97,6 +98,9 @@ do --no-examples) INSTALLEXAMPLES=0 ;; + --use-gcrypt) + CRYPTO_LIB='gcrypt' + ;; --use-ssl-crypto) CRYPTO_LIB='ssl' ;; diff --git a/src/options.c b/src/options.c index 240a286..4b5df26 100644 --- a/src/options.c +++ b/src/options.c @@ -224,7 +224,9 @@ int options_parse(options_t* opt, int argc, char* argv[]) argc--; +#ifndef NO_CRYPT char* role = NULL; +#endif int i, ipv4_only = 0, ipv6_only = 0; for(i=1; argc > 0; ++i) { |