Blame SOURCES/0001-Fix-default-TLS-versions.patch

ce62dc
diff -up cups-2.2.6/cups/usersys.c.defaulttls cups-2.2.6/cups/usersys.c
ce62dc
--- cups-2.2.6/cups/usersys.c.defaulttls	2018-09-03 12:10:36.111230611 +0200
ce62dc
+++ cups-2.2.6/cups/usersys.c	2018-09-03 12:12:41.307074414 +0200
ce62dc
@@ -1166,11 +1166,15 @@ cups_init_client_conf(
ce62dc
 
ce62dc
   memset(cc, 0, sizeof(_cups_client_conf_t));
ce62dc
 
ce62dc
-  cc->encryption     = (http_encryption_t)-1;
ce62dc
-  cc->trust_first    = -1;
ce62dc
-  cc->any_root       = -1;
ce62dc
-  cc->expired_certs  = -1;
ce62dc
-  cc->validate_certs = -1;
ce62dc
+#ifdef HAVE_SSL
ce62dc
+  cc->ssl_min_version = _HTTP_TLS_1_0;
ce62dc
+  cc->ssl_max_version = _HTTP_TLS_MAX;
ce62dc
+#endif /* HAVE_SSL */
ce62dc
+  cc->encryption      = (http_encryption_t)-1;
ce62dc
+  cc->trust_first     = -1;
ce62dc
+  cc->any_root        = -1;
ce62dc
+  cc->expired_certs   = -1;
ce62dc
+  cc->validate_certs  = -1;
ce62dc
 
ce62dc
  /*
ce62dc
   * Load settings from the org.cups.PrintingPrefs plist (which trump