]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix compile without HAVE_SSL 5217/head
authorStefan Scherer <scherer_stefan@icloud.com>
Tue, 9 Jan 2018 15:31:37 +0000 (16:31 +0100)
committerStefan Scherer <scherer_stefan@icloud.com>
Tue, 9 Jan 2018 15:31:37 +0000 (16:31 +0100)
cups/usersys.c

index cf046ac911577647b43ba3bf50cc87a39cd119a7..c6c774e4aa3037f26689f1dad8fea2d669b686e3 100644 (file)
@@ -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;