-CHANGES-IPPTOOL.txt - 2013-07-15
+CHANGES-IPPTOOL.txt - 2014-03-28
--------------------------------
This file provides a list of changes to the ipptool binary distribution posted
on cups.org.
+2014-03-28
+
+ - Fixed SSL support on Windows (STR #4358)
+
+
2013-07-15
- New ippfind tool now included with ipptool.
- Documentation fixes (STR #3259, STR #4346, STR #4355)
- Fixed the Japanese localization (STR #4385)
- Added a German localization (STR #4363)
+ - Fixed SSL support on Windows (STR #4358)
- Fixed documentation and naming of Create-Job/Printer-Subscriptions
operations (STR #4389)
- Phone numbers in fax jobs were not properly filtered for IPP FaxOut
-IPPTOOL.txt - 2013-07-15
+IPPTOOL.txt - 2014-03-28
------------------------
See the file CHANGES-IPPTOOL.txt for a list of changes to this software.
LEGAL STUFF
- CUPS is Copyright 2007-2013 by Apple Inc. CUPS and the CUPS logo are
+ CUPS is Copyright 2007-2014 by Apple Inc. CUPS and the CUPS logo are
trademarks of Apple Inc.
The MD5 Digest code is Copyright 1999 Aladdin Enterprises.
*
* HTTP routines for CUPS.
*
- * Copyright 2007-2013 by Apple Inc.
+ * Copyright 2007-2014 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* This file contains Kerberos support code, copyright 2006 by Jelmer Vernooij.
if (!http->tls)
{
+ DEBUG_puts("8http_setup_ssl: Unable to allocate SSPI data.");
_cupsSetHTTPError(HTTP_STATUS_ERROR);
return (-1);
}
_sntprintf_s(commonName, sizeof(commonName) / sizeof(TCHAR),
sizeof(commonName) / sizeof(TCHAR), TEXT("CN=%s"), username);
- if (!_sspiGetCredentials(http->tls_credentials, L"ClientContainer",
- commonName, FALSE))
+ DEBUG_printf(("8http_setup_ssl: commonName=\"%s\"", commonName));
+
+ if (!_sspiGetCredentials(http->tls, L"ClientContainer", commonName, FALSE))
{
- _sspiFree(http->tls_credentials);
- http->tls_credentials = NULL;
+ DEBUG_puts("8http_setup_ssl: _sspiGetCredentials failed.");
+
+ _sspiFree(http->tls);
+ http->tls = NULL;
http->error = EIO;
http->status = HTTP_STATUS_ERROR;
return (-1);
}
- _sspiSetAllowsAnyRoot(http->tls_credentials, TRUE);
- _sspiSetAllowsExpiredCerts(http->tls_credentials, TRUE);
+ _sspiSetAllowsAnyRoot(http->tls, TRUE);
+ _sspiSetAllowsExpiredCerts(http->tls, TRUE);
- if (!_sspiConnect(http->tls_credentials, hostname))
+ if (!_sspiConnect(http->tls, hostname))
{
- _sspiFree(http->tls_credentials);
- http->tls_credentials = NULL;
+ DEBUG_printf(("8http_setup_ssl: _sspiConnect failed for \"%s\".", hostname));
+
+ _sspiFree(http->tls);
+ http->tls = NULL;
http->error = EIO;
http->status = HTTP_STATUS_ERROR;
/*
* "$Id$"
*
- * Windows SSPI SSL implementation for CUPS.
+ * Windows SSPI SSL implementation for CUPS.
*
- * Copyright 2010-2011 by Apple Inc.
+ * Copyright 2010-2014 by Apple Inc.
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * Contents:
- *
- * sspi_alloc() - Allocate SSPI ssl object
- * _sspiGetCredentials() - Retrieve an SSL/TLS certificate from the
- * system store If one cannot be found, one is
- * created.
- * _sspiConnect() - Make an SSL connection. This function
- * assumes a TCP/IP connection has already been
- * successfully made
- * _sspiAccept() - Accept an SSL/TLS connection
- * _sspiSetAllowsAnyRoot() - Set the client cert policy for untrusted
- * root certs
- * _sspiSetAllowsExpiredCerts() - Set the client cert policy for expired root
- * certs
- * _sspiWrite() - Write a buffer to an ssl socket
- * _sspiRead() - Read a buffer from an ssl socket
- * _sspiPending() - Returns the number of available bytes
- * _sspiFree() - Close a connection and free resources
- * sspi_verify_certificate() - Verify a server certificate
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*/
/*
CRYPT_KEY_PROV_INFO ckp; /* Handle to crypto key */
BOOL ok = TRUE; /* Return value */
+
+ DEBUG_printf(("_sspiGetCredentials(conn=%p, container=%p, cn=\"%s\", isServer=%d)", conn, container, cn, isServer));
+
if (!conn)
return (FALSE);
if (!cn)
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_4273A45FE6E54897AC9A4F66D9AA59EC"\r
- "OwnerKey" = "8:_8A6033CAC27E4C1185B4FDF7D2BF8D2E"\r
+ "MsmKey" = "8:_4454D1BB58774F95972FB94388DC5E6A"\r
+ "OwnerKey" = "8:_UNDEFINED"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_4454D1BB58774F95972FB94388DC5E6A"\r
+ "MsmKey" = "8:_46AB64FF360D4F309866FF5F49C65D88"\r
"OwnerKey" = "8:_UNDEFINED"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_46AB64FF360D4F309866FF5F49C65D88"\r
- "OwnerKey" = "8:_UNDEFINED"\r
+ "MsmKey" = "8:_4FEB166CB8954184934B4C82D1A99107"\r
+ "OwnerKey" = "8:_73D53D5857124164BE3824FD94E0CB2A"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_80DBA85C961E447CB92C95CE1F38C56B"\r
- "OwnerKey" = "8:_UNDEFINED"\r
+ "MsmKey" = "8:_73D53D5857124164BE3824FD94E0CB2A"\r
+ "OwnerKey" = "8:_58DC0E72F0944BEFB927AED718CD1660"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_842C04D73EBC4F5DBC2FD58D5B98D5D1"\r
- "OwnerKey" = "8:_UNDEFINED"\r
+ "MsmKey" = "8:_73D53D5857124164BE3824FD94E0CB2A"\r
+ "OwnerKey" = "8:_EA282F32A10B4ED1A81AA6133B997C6A"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_8A6033CAC27E4C1185B4FDF7D2BF8D2E"\r
- "OwnerKey" = "8:_58DC0E72F0944BEFB927AED718CD1660"\r
+ "MsmKey" = "8:_73D53D5857124164BE3824FD94E0CB2A"\r
+ "OwnerKey" = "8:_E97571D3FBE048DABDC59B37762D800F"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_8A6033CAC27E4C1185B4FDF7D2BF8D2E"\r
- "OwnerKey" = "8:_EA282F32A10B4ED1A81AA6133B997C6A"\r
+ "MsmKey" = "8:_73D53D5857124164BE3824FD94E0CB2A"\r
+ "OwnerKey" = "8:_D02EB13951314EFD9C539150EF8E53B8"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_8A6033CAC27E4C1185B4FDF7D2BF8D2E"\r
- "OwnerKey" = "8:_E97571D3FBE048DABDC59B37762D800F"\r
+ "MsmKey" = "8:_80DBA85C961E447CB92C95CE1F38C56B"\r
+ "OwnerKey" = "8:_UNDEFINED"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
- "MsmKey" = "8:_8A6033CAC27E4C1185B4FDF7D2BF8D2E"\r
- "OwnerKey" = "8:_D02EB13951314EFD9C539150EF8E53B8"\r
+ "MsmKey" = "8:_842C04D73EBC4F5DBC2FD58D5B98D5D1"\r
+ "OwnerKey" = "8:_UNDEFINED"\r
"MsmSig" = "8:_UNDEFINED"\r
}\r
"Entry"\r
{\r
"Name" = "8:Microsoft Visual Studio"\r
"ProductName" = "8:ipptool for Windows"\r
- "ProductCode" = "8:{5B0420A3-BD82-4698-B8A1-9D9EC51A7836}"\r
- "PackageCode" = "8:{ECECE842-1E95-48BD-962D-A4E62FBB5F89}"\r
+ "ProductCode" = "8:{B5950B89-CE18-455C-B176-E0B74DCDF400}"\r
+ "PackageCode" = "8:{0307E5A5-247E-4097-A50B-35A35B548502}"\r
"UpgradeCode" = "8:{BAB6EBBB-515D-4155-9FEF-D98DA76814CA}"\r
"RestartWWWService" = "11:FALSE"\r
"RemovePreviousVersions" = "11:TRUE"\r
"DetectNewerInstalledVersion" = "11:TRUE"\r
"InstallAllUsers" = "11:TRUE"\r
- "ProductVersion" = "8:13.07.3100"\r
+ "ProductVersion" = "8:14.03.2800"\r
"Manufacturer" = "8:Apple Inc."\r
"ARPHELPTELEPHONE" = "8:"\r
"ARPHELPLINK" = "8:http://www.cups.org/str.php"\r
}\r
"MergeModule"\r
{\r
- "{CEE29DC0-9FBA-4B99-8D47-5BC643D9B626}:_4273A45FE6E54897AC9A4F66D9AA59EC"\r
+ "{CEE29DC0-9FBA-4B99-8D47-5BC643D9B626}:_4FEB166CB8954184934B4C82D1A99107"\r
{\r
"UseDynamicProperties" = "11:TRUE"\r
"IsDependency" = "11:TRUE"\r
"Feature" = "8:"\r
"IsolateTo" = "8:"\r
}\r
- "{CEE29DC0-9FBA-4B99-8D47-5BC643D9B626}:_8A6033CAC27E4C1185B4FDF7D2BF8D2E"\r
+ "{CEE29DC0-9FBA-4B99-8D47-5BC643D9B626}:_73D53D5857124164BE3824FD94E0CB2A"\r
{\r
"UseDynamicProperties" = "11:TRUE"\r
"IsDependency" = "11:TRUE"\r
{\r
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_58DC0E72F0944BEFB927AED718CD1660"\r
{\r
- "SourcePath" = "8:Win32\\Release\\ippfind.exe"\r
+ "SourcePath" = "8:Win32\\Debug\\ippfind.exe"\r
"TargetName" = "8:"\r
"Tag" = "8:"\r
"Folder" = "8:_FFAEDEA1D38D4088A03FDD6F17E2CA5D"\r
}\r
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D02EB13951314EFD9C539150EF8E53B8"\r
{\r
- "SourcePath" = "8:Win32\\Release\\regex.dll"\r
+ "SourcePath" = "8:Win32\\Debug\\regex.dll"\r
"TargetName" = "8:"\r
"Tag" = "8:"\r
"Folder" = "8:_FFAEDEA1D38D4088A03FDD6F17E2CA5D"\r
}\r
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_E97571D3FBE048DABDC59B37762D800F"\r
{\r
- "SourcePath" = "8:Win32\\Release\\ipptool.exe"\r
+ "SourcePath" = "8:Win32\\Debug\\ipptool.exe"\r
"TargetName" = "8:"\r
"Tag" = "8:"\r
"Folder" = "8:_FFAEDEA1D38D4088A03FDD6F17E2CA5D"\r
}\r
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_EA282F32A10B4ED1A81AA6133B997C6A"\r
{\r
- "SourcePath" = "8:Win32\\Release\\libcups2.dll"\r
+ "SourcePath" = "8:Win32\\Debug\\libcups2.dll"\r
"TargetName" = "8:"\r
"Tag" = "8:"\r
"Folder" = "8:_FFAEDEA1D38D4088A03FDD6F17E2CA5D"\r
@rem Script to enable debug logging for IPPTOOL
set CUPS_DEBUG_LOG=ipptool.log
set CUPS_DEBUG_LEVEL=6
-set "CUPS_DEBUG_FILTER=^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite)"
+set "CUPS_DEBUG_FILTER=^(http|_http|ipp|_ipp|cupsDo|cupsGetResponse|cupsSend|cupsWrite|sspi|_sspi)"