src/main.c: Conditionally print help for --random-file and --egd-file

--random-file is only relevant when compiled with either OpenSSL or LibreSSL.
--egd-file is only relevant when compiled with OpenSSL
This commit is contained in:
Tim Rühsen 2014-12-17 12:22:14 +01:00
parent b0b1cde6e2
commit 6bc2620592
1 changed files with 4 additions and 0 deletions

View File

@ -673,10 +673,14 @@ HTTPS (SSL/TLS) options:\n"),
--ca-directory=DIR directory where hash list of CA's is stored.\n"),
N_("\
--crl-file=FILE file with bundle of CRL's.\n"),
#if defined(HAVE_LIBSSL) || defined(HAVE_LIBSSL32)
N_("\
--random-file=FILE file with random data for seeding the SSL PRNG.\n"),
#endif
#if (defined(HAVE_LIBSSL) || defined(HAVE_LIBSSL32)) && defined(HAVE_RAND_EGD)
N_("\
--egd-file=FILE file naming the EGD socket with random data.\n"),
#endif
"\n",
#endif /* HAVE_SSL */