From c88f441f945d8698fd0554a0077ba8c7662d80ef Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 18 Dec 2017 23:45:22 -0500 Subject: [PATCH] Fix default TLS versions. --- cups/usersys.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cups/usersys.c b/cups/usersys.c index db15cd82a..cf046ac91 100644 --- a/cups/usersys.c +++ b/cups/usersys.c @@ -1160,11 +1160,13 @@ cups_init_client_conf( memset(cc, 0, sizeof(_cups_client_conf_t)); - cc->encryption = (http_encryption_t)-1; - cc->trust_first = -1; - cc->any_root = -1; - cc->expired_certs = -1; - cc->validate_certs = -1; + cc->ssl_min_version = _HTTP_TLS_1_0; + cc->ssl_max_version = _HTTP_TLS_MAX; + cc->encryption = (http_encryption_t)-1; + cc->trust_first = -1; + cc->any_root = -1; + cc->expired_certs = -1; + cc->validate_certs = -1; /* * Load settings from the org.cups.PrintingPrefs plist (which trump -- 2.39.5