summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-10-03 00:48:45 -0600
committerEduardo Chappa <chappa@washington.edu>2019-10-03 00:48:45 -0600
commit9abfe45e6f2a2d37886b2979cef788621ab2b033 (patch)
tree1f88d3e74f6de95eab5ff1cf25aae8b6684260c0
parent90e12ea2c85c9b3b43f82800873e329154527d1c (diff)
downloadalpine-9abfe45e6f2a2d37886b2979cef788621ab2b033.tar.xz
* Fix compilation errors when Alpine is built with "--without-ssl" option.
-rw-r--r--alpine/alpine.c2
-rw-r--r--pith/conf.c2
-rw-r--r--pith/pine.hlp2
3 files changed, 5 insertions, 1 deletions
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 =================
<HTML>
<HEAD>