summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorStefan Scherer <scherer_stefan@icloud.com>2018-01-09 16:31:37 +0100
committerStefan Scherer <scherer_stefan@icloud.com>2018-01-09 16:31:37 +0100
commit60da78baeb0f7a7acccbcbeb307561d748dc83ed (patch)
tree2a6f5eb713441bd4e32699d6f8e61f1a9fa323c5 /cups
parent82341b0b4562b53bbba3afa088bb68ee591b7454 (diff)
downloadcups-60da78baeb0f7a7acccbcbeb307561d748dc83ed.tar.gz
Fix compile without HAVE_SSL
Diffstat (limited to 'cups')
-rw-r--r--cups/usersys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cups/usersys.c b/cups/usersys.c
index cf046ac91..c6c774e4a 100644
--- a/cups/usersys.c
+++ b/cups/usersys.c
@@ -1160,8 +1160,10 @@ cups_init_client_conf(
memset(cc, 0, sizeof(_cups_client_conf_t));
+#ifdef HAVE_SSL
cc->ssl_min_version = _HTTP_TLS_1_0;
cc->ssl_max_version = _HTTP_TLS_MAX;
+#endif /* HAVE_SSL */
cc->encryption = (http_encryption_t)-1;
cc->trust_first = -1;
cc->any_root = -1;