From b633022e24381a4accc52d0a406d84c5b8f8f727 Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 28 Apr 2005 02:32:13 -0700 Subject: [PATCH] [svn] Wrap the use of opt.random_file in HAVE_SSL. --- src/ChangeLog | 5 +++++ src/init.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index bdec7407..26756331 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-04-28 Hrvoje Niksic + + * init.c (commands): Wrap the use of opt.random_file in #ifdef + HAVE_SSL. + 2005-04-28 Hrvoje Niksic * http.c (gethttp): Correctly set the user agent. diff --git a/src/init.c b/src/init.c index 14f3a87b..bc57b60e 100644 --- a/src/init.c +++ b/src/init.c @@ -211,7 +211,9 @@ static struct { { "proxyuser", &opt.proxy_user, cmd_string }, { "quiet", &opt.quiet, cmd_boolean }, { "quota", &opt.quota, cmd_bytes_large }, +#ifdef HAVE_SSL { "randomfile", &opt.random_file, cmd_file }, +#endif { "randomwait", &opt.random_wait, cmd_boolean }, { "readtimeout", &opt.read_timeout, cmd_time }, { "reclevel", &opt.reclevel, cmd_number_inf },