diff options
author | Michael R Sweet <michaelrsweet@gmail.com> | 2017-12-18 23:45:22 -0500 |
---|---|---|
committer | Michael R Sweet <michaelrsweet@gmail.com> | 2017-12-18 23:45:22 -0500 |
commit | c88f441f945d8698fd0554a0077ba8c7662d80ef (patch) | |
tree | 640fdc571e898717dd6d7b2c5b360d5b46279e91 /cups | |
parent | 3f76968f9939db8a7a0cde7a5f9e343fddf0e966 (diff) | |
download | cups-c88f441f945d8698fd0554a0077ba8c7662d80ef.tar.gz |
Fix default TLS versions.
Diffstat (limited to 'cups')
-rw-r--r-- | cups/usersys.c | 12 |
1 files 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 |