+2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * gen_sslfunc.c (ssl_init_prng): Allow the user to disable EGD by
+ setting egd_file it to empty string.
+
+ * main.c (main): Change the option name from --sslegdsock to
+ --egd-file.
+
2001-12-06 Hrvoje Niksic <hniksic@arsdigita.com>
* gen_sslfunc.c (ssl_init_prng): Make the printed message
#ifdef HAVE_SSL
{ "sslcertfile", &opt.sslcertfile, cmd_file },
{ "sslcertkey", &opt.sslcertkey, cmd_file },
- { "sslegdsock", &opt.sslegdsock, cmd_file },
+ { "egdfile", &opt.sslegdsock, cmd_file },
#endif /* HAVE_SSL */
{ "timeout", &opt.timeout, cmd_time },
{ "timestamping", &opt.timestamping, cmd_boolean },
char **pstring = (char **)closure;
FREE_MAYBE (*pstring);
+
+ /* #### If VAL is empty, perhaps should set *CLOSURE to NULL. */
+
if (!enable_tilde_expansion || !(*val == '~' && *(val + 1) == '/'))
{
noexpand:
-B, --base=URL prepends URL to relative links in -F -i file.\n\
--sslcertfile=FILE optional client certificate.\n\
--sslcertkey=KEYFILE optional keyfile for this certificate.\n\
- --sslegdsock=FILE socket to the egd daemon(random data source).\n\
+ --egd-file=FILE file name of the EGD socket.\n\
\n"), stdout);
fputs (_("\
Download:\n\
#ifdef HAVE_SSL
{ "sslcertfile", required_argument, NULL, 158 },
{ "sslcertkey", required_argument, NULL, 159 },
- { "sslegdsock", required_argument, NULL, 166 },
+ { "egd-file", required_argument, NULL, 166 },
#endif /* HAVE_SSL */
{ "wait", required_argument, NULL, 'w' },
{ "waitretry", required_argument, NULL, 152 },
setval ("sslcertkey", optarg);
break;
case 166:
- setval ("sslegdsock", optarg);
+ setval ("egdfile", optarg);
break;
#endif /* HAVE_SSL */
case 'A':