From 2ce1efdc06f33c23a2f99521650e63d295e9b0bf Mon Sep 17 00:00:00 2001 From: mike Date: Thu, 18 Apr 2013 23:15:40 +0000 Subject: [PATCH] Printing using "ipps" URIs was not encrypted. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10959 7a7537e8-13f0-0310-91df-b6672ffda945 --- CHANGES-1.6.txt | 1 + backend/ipp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES-1.6.txt b/CHANGES-1.6.txt index e5d08e7fea..7a409a8452 100644 --- a/CHANGES-1.6.txt +++ b/CHANGES-1.6.txt @@ -5,6 +5,7 @@ CHANGES IN CUPS V1.6.3 - The configure script now prefers Clang over GCC. - Fixed a compile problem on AIX (STR #4307) + - Printing using "ipps" URIs was not encrypted. - Insecure ICC profiles prevented installation of user profiles for a printer on OS X. - Added more USB quirks for the libusb-based backend (STR #4311) diff --git a/backend/ipp.c b/backend/ipp.c index 79f06c54d0..e7f3c3f3e7 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -431,7 +431,7 @@ main(int argc, /* I - Number of command-line args */ if (!port) port = IPP_PORT; /* Default to port 631 */ - if (!strcmp(scheme, "https")) + if (!strcmp(scheme, "https") || !strcmp(scheme, "ipps")) cupsSetEncryption(HTTP_ENCRYPT_ALWAYS); else cupsSetEncryption(HTTP_ENCRYPT_IF_REQUESTED); -- 2.47.2