From 9abfe45e6f2a2d37886b2979cef788621ab2b033 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 3 Oct 2019 00:48:45 -0600 Subject: * Fix compilation errors when Alpine is built with "--without-ssl" option. --- alpine/alpine.c | 2 ++ pith/conf.c | 2 ++ pith/pine.hlp | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/alpine/alpine.c b/alpine/alpine.c index e0c1f408..a4e8f3f3 100644 --- a/alpine/alpine.c +++ b/alpine/alpine.c @@ -653,6 +653,7 @@ main(int argc, char **argv) } } +#ifdef DF_ENCRYPTION_RANGE if(ps_global->VAR_ENCRYPTION_RANGE && ps_global->VAR_ENCRYPTION_RANGE[0]){ char *min_s, *max_s, *s; @@ -717,6 +718,7 @@ main(int argc, char **argv) mail_parameters(NULL, SET_ENCRYPTION_RANGE_MAX, (void *) &max_v); } } +#endif /* DF_ENCRYPTION_RANGE */ /* * setup alternative authentication driver preference for IMAP opens diff --git a/pith/conf.c b/pith/conf.c index 73a868b6..ea133a74 100644 --- a/pith/conf.c +++ b/pith/conf.c @@ -1603,7 +1603,9 @@ init_vars(struct pine *ps, void (*cmds_f) (struct pine *, char **)) GLO_PRINTER = cpystr(DF_DEFAULT_PRINTER); GLO_ELM_STYLE_SAVE = cpystr(DF_ELM_STYLE_SAVE); +#ifdef DF_ENCRYPTION_RANGE GLO_ENCRYPTION_RANGE = cpystr(DF_ENCRYPTION_RANGE); +#endif GLO_SAVE_BY_SENDER = cpystr(DF_SAVE_BY_SENDER); GLO_HEADER_IN_REPLY = cpystr(DF_HEADER_IN_REPLY); GLO_INBOX_PATH = cpystr("inbox"); diff --git a/pith/pine.hlp b/pith/pine.hlp index d08242f9..86e9ac82 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 370 2019-09-26 19:06:25 +Alpine Commit 371 2019-10-03 00:47:58 ============= h_news ================= -- cgit v1.2.3-70-g09d2