aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--fetchmail.c5
2 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 8477020d..de6ba9eb 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@
* Make sure suffix checks on akalists are properly caseblinded.
* All warning mail now has a generated date stamp.
* getopt.c and getopt1.c removed due to license incompatibility with OpenSSL.
+* End of poll cycle is now logged.
+* Sanity check now rejects SSL option if SSL support is not compiled in
+ (resolves Debian bug #109796).
fetchmail-5.9.0 (Sun Aug 12 23:52:16 EDT 2001), 21062 lines:
diff --git a/fetchmail.c b/fetchmail.c
index 70929d99..b533b1c2 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1046,6 +1046,11 @@ static int load_params(int argc, char **argv, int optind)
DEFAULT(ctl->sslcertck, FALSE);
#endif
DEFAULT(ctl->server.checkalias, FALSE);
+ if (ctl->use_ssl)
+ {
+ report(stderr, _("SSL support is not compiled in.\n"));
+ exit(PS_SYNTAX);
+ }
#undef DEFAULT
/*