summaryrefslogtreecommitdiff
path: root/cups/http.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-05-09 21:25:04 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-05-09 21:25:04 +0000
commit4cecbbe83692e1bb7eb225515b6792867b26fa0c (patch)
treeaa4972b38d1024037a023e41258410baed6afcaa /cups/http.c
parent8441e27ce4008828cbdd25bdd6249c0019853b92 (diff)
downloadcups-4cecbbe83692e1bb7eb225515b6792867b26fa0c.tar.gz
Add localized error message for failed TLS negotiation.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11872 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/http.c')
-rw-r--r--cups/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cups/http.c b/cups/http.c
index 377610e78..39d1e7947 100644
--- a/cups/http.c
+++ b/cups/http.c
@@ -4605,6 +4605,7 @@ http_tls_upgrade(http_t *http) /* I - HTTP connection */
DEBUG_puts("8http_tls_upgrade: Server does not support HTTP upgrade!");
+ _cupsSetError(IPP_STATUS_ERROR_CUPS_PKI, _("Encryption is not supported."), 1);
httpAddrClose(NULL, http->fd);
http->fd = -1;