From: Stefan Scherer Date: Tue, 9 Jan 2018 15:31:37 +0000 (+0100) Subject: Fix compile without HAVE_SSL X-Git-Tag: v2.3b2~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60da78baeb0f7a7acccbcbeb307561d748dc83ed;p=thirdparty%2Fcups.git Fix compile without HAVE_SSL --- diff --git a/cups/usersys.c b/cups/usersys.c index cf046ac911..c6c774e4aa 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;