]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
9 years agoSourceFormat Enforcement
Source Maintenance [Tue, 13 Jan 2015 07:25:36 +0000 (07:25 +0000)] 
SourceFormat Enforcement

9 years agoMaintain copyright blurb claims across end of year
Source Maintenance [Tue, 13 Jan 2015 07:02:31 +0000 (07:02 +0000)] 
Maintain copyright blurb claims across end of year

9 years agoFix typo in rev.13840
Amos Jeffries [Tue, 13 Jan 2015 05:09:18 +0000 (21:09 -0800)] 
Fix typo in rev.13840

9 years agoWindows: auto-detect InetNtopA and InetPtonA
Amos Jeffries [Tue, 13 Jan 2015 04:53:25 +0000 (20:53 -0800)] 
Windows: auto-detect InetNtopA and InetPtonA

Also, add missing wrapper definition for inet_pton()

9 years agoImprove proxy_acl mgr:config output
Francesco Chemolli [Mon, 12 Jan 2015 15:53:58 +0000 (16:53 +0100)] 
Improve proxy_acl mgr:config output

9 years agoPortability: skip redefinition of inet_ntop/inet_pton
Amos Jeffries [Mon, 12 Jan 2015 14:27:01 +0000 (06:27 -0800)] 
Portability: skip redefinition of inet_ntop/inet_pton

... even if ./configure detects their absence they may be pulled in from
elsewhere. Such as our own compat/os/ headers (eg. on Windows).

9 years agoFix acl formatting in config CacheMgr action
Francesco Chemolli [Mon, 12 Jan 2015 13:24:52 +0000 (14:24 +0100)] 
Fix acl formatting in config CacheMgr action

9 years agosquidclient: Fix -A and -P options
Amos Jeffries [Mon, 12 Jan 2015 08:11:06 +0000 (00:11 -0800)] 
squidclient: Fix -A and -P options

With --https addition the A and P values are re-used for --cert and
--params within HTTPS options. This works for long options, but they
cannot be listed as short options by the Transport:: module because
they are required at the top level by old-style HTTP parameters.

9 years agoSource Layout: shuffle HttpServer to Http1::Server
Amos Jeffries [Fri, 9 Jan 2015 00:33:37 +0000 (16:33 -0800)] 
Source Layout: shuffle HttpServer to Http1::Server

No logic changes. Just class and namespace renaming.

9 years agoUpdate IPC sockets verification check
Amos Jeffries [Thu, 8 Jan 2015 23:41:52 +0000 (15:41 -0800)] 
Update IPC sockets verification check

Coverity Scan gets confused by the code trick of using memset() on a
buffer then filling arbitrary string data into all but the final byte of
that buffer - thus implicitly null terminating.

Try an explicit null termination instead of memset(), this should make
Coverity a bit happier and is also faster than zero'ing the entire buf.

Coverity Issue 1258700

9 years agoWorkaround several Coverity scan false positives
Amos Jeffries [Thu, 8 Jan 2015 23:27:17 +0000 (15:27 -0800)] 
Workaround several Coverity scan false positives

Coverity gets confused by SBuf::npos value used as implicit append()
length parameter for special case when SBuf is required to call strlen()

Remove some unnecesary uses of that overloaded form of append().

9 years agocachemgr.cgi: memory leak in request parser
Amos Jeffries [Thu, 8 Jan 2015 23:06:40 +0000 (15:06 -0800)] 
cachemgr.cgi: memory leak in request parser

Leaks a block of memory for each header parsed the size of the header.

The CGI is rarely operating for long periods, it is run as-needed by
servers so the memory leak does not accumulate long term.

  Detectd by Coverity Scan. Issue 1256164

9 years agocachemgr.cgi: exit on base64 decode failures
Amos Jeffries [Thu, 8 Jan 2015 23:00:40 +0000 (15:00 -0800)] 
cachemgr.cgi: exit on base64 decode failures

  Detected by Coverity Scan. Issue 1261431

9 years agosquidclient: Fix incorrect use of delete on GSSAPI tokens
Amos Jeffries [Thu, 8 Jan 2015 22:56:44 +0000 (14:56 -0800)] 
squidclient: Fix incorrect use of delete on GSSAPI tokens

  Detected by Coverity Scan. Issue 1261432

9 years agontlm_fake_auth: fix null pointer dereference
Amos Jeffries [Thu, 8 Jan 2015 22:47:22 +0000 (14:47 -0800)] 
ntlm_fake_auth: fix null pointer dereference

 Detected by Coverity Scan. Issue 1261433

9 years agoBug 3760: fix typo in earlier patch
Amos Jeffries [Thu, 8 Jan 2015 22:11:24 +0000 (14:11 -0800)] 
Bug 3760: fix typo in earlier patch

9 years agoFix assertions inserting duplicate values into a splay
Amos Jeffries [Wed, 7 Jan 2015 10:00:25 +0000 (02:00 -0800)] 
Fix assertions inserting duplicate values into a splay

... loading ACLs with duplicate values is quite common.

9 years agoSourceFormat Enforcement
Source Maintenance [Wed, 7 Jan 2015 00:12:06 +0000 (00:12 +0000)] 
SourceFormat Enforcement

9 years agoFix splay-related issues
Francesco Chemolli [Tue, 6 Jan 2015 21:05:37 +0000 (22:05 +0100)] 
Fix splay-related issues

In several cases Splay data membes would not be properly initialized in ACL and MemPools code
A duplicate IP ACL value would cause an assert.

9 years agoFix segfault in proxy_auth ACL parsing after rev.13810
Amos Jeffries [Tue, 6 Jan 2015 10:25:51 +0000 (02:25 -0800)] 
Fix segfault in proxy_auth ACL parsing after rev.13810

9 years agoTurn c++11 initializer lists into explicit constructors
Francesco Chemolli [Mon, 5 Jan 2015 21:48:36 +0000 (22:48 +0100)] 
Turn c++11 initializer lists into explicit constructors

Only fairly recent versions of gcc and clang support well c++11-style
initializer lists; reverting to traditional constructors obtains
better portability at the price of less readable code.
This changeset can be reverted after RHEL/CentOS 6, Debian Wheezy and
Ubuntu Precise will not be supported anymore.

9 years agoFix autoconf test for -Wno-deprecated-register
Francesco Chemolli [Mon, 5 Jan 2015 17:44:21 +0000 (18:44 +0100)] 
Fix autoconf test for -Wno-deprecated-register

9 years agoFix sSQUID_CC_REQUIRE_ARGUMENT autoconf macro
Francesco Chemolli [Mon, 5 Jan 2015 17:43:20 +0000 (18:43 +0100)] 
Fix sSQUID_CC_REQUIRE_ARGUMENT autoconf macro

9 years agotypo in rev.13819
Amos Jeffries [Mon, 5 Jan 2015 10:01:47 +0000 (02:01 -0800)] 
typo in rev.13819

9 years agonegotiate_kerberos_auth: fix token decode typo in rev.13785
Markus Moeller [Mon, 5 Jan 2015 09:57:06 +0000 (01:57 -0800)] 
negotiate_kerberos_auth: fix token decode typo in rev.13785

9 years agoSourceFormat Enforcement
Source Maintenance [Sun, 4 Jan 2015 12:12:05 +0000 (12:12 +0000)] 
SourceFormat Enforcement

9 years agoSourceLayout: sort configure.ac Makefile list
Amos Jeffries [Sun, 4 Jan 2015 10:12:19 +0000 (02:12 -0800)] 
SourceLayout: sort configure.ac Makefile list

9 years agoImproved automake 1.13+ support in unit-tests
Amos Jeffries [Sun, 4 Jan 2015 07:40:55 +0000 (23:40 -0800)] 
Improved automake 1.13+ support in unit-tests

Automake 1.13+ are warning about subdir-objects being enabled in
future versions but Squid currently relies on several environment
constructs that prevent that feature from working.

* All cppunit tests share a main() implementation in testMain.cc
  which is not able to easily be built as a .o from locations
  such as compat/.

  Fix this by making the code to include/unitTestMain.h and
  including it as an inline main() definition for all cppunit
  tests core .cc files.

* lib/testAll unit test

  Fix by splitting out into multiple unit-test binaries as is done
  by the rest of Squid. And removing duplicate testMain.cc.

* lib/ and src/ objects link to objects in child directories

  Enable subdir-objects when possible. Some remain due to
  depending on stubs files in the not yet created src/tests/ build
  directory. That will be fixed in a future commit.

9 years agoFixed -Wno-deprecated-register detection
kinkie@buildmaster.squid-cache.org [Sat, 3 Jan 2015 21:25:56 +0000 (21:25 +0000)] 
Fixed -Wno-deprecated-register detection

9 years agoFix typo on commStartSslClose
Francesco Chemolli [Sat, 3 Jan 2015 20:55:21 +0000 (21:55 +0100)] 
Fix typo on commStartSslClose

9 years agoClang on CentOS needs -Wno-deprecated-register
Amos Jeffries [Sat, 3 Jan 2015 15:37:56 +0000 (07:37 -0800)] 
Clang on CentOS needs -Wno-deprecated-register

9 years agoSourceFormat Enforcement
Source Maintenance [Sat, 3 Jan 2015 12:12:04 +0000 (12:12 +0000)] 
SourceFormat Enforcement

9 years agoAdd missing include after rev.13808
Amos Jeffries [Sat, 3 Jan 2015 12:04:40 +0000 (04:04 -0800)] 
Add missing include after rev.13808

9 years agoMerge splayfix branch
Francesco Chemolli [Sat, 3 Jan 2015 10:42:48 +0000 (11:42 +0100)] 
Merge splayfix branch

9 years agoMerged from trunk
Francesco Chemolli [Sat, 3 Jan 2015 09:59:51 +0000 (10:59 +0100)] 
Merged from trunk

9 years agoSource Maintenance
Amos Jeffries [Sat, 3 Jan 2015 08:08:23 +0000 (00:08 -0800)] 
Source Maintenance

9 years agoBug 3760: squidclient ignores --disable-ipv6
Amos Jeffries [Sat, 3 Jan 2015 08:01:50 +0000 (00:01 -0800)] 
Bug 3760: squidclient ignores --disable-ipv6

9 years agoMade Splay::elements private
Francesco Chemolli [Fri, 2 Jan 2015 19:31:49 +0000 (20:31 +0100)] 
Made Splay::elements private

9 years agoFixed typo
Francesco Chemolli [Fri, 2 Jan 2015 17:56:20 +0000 (18:56 +0100)] 
Fixed typo

9 years agoMerged from trunk
Francesco Chemolli [Fri, 2 Jan 2015 17:36:55 +0000 (18:36 +0100)] 
Merged from trunk

9 years agoFixed never-true tests in testRefCount
Francesco Chemolli [Fri, 2 Jan 2015 17:35:49 +0000 (18:35 +0100)] 
Fixed never-true tests in testRefCount

9 years agoUpdated DelayTagged and DelayUser from SplayNode to Splay API
Francesco Chemolli [Fri, 2 Jan 2015 17:13:46 +0000 (18:13 +0100)] 
Updated DelayTagged and DelayUser from SplayNode to Splay API

9 years agoMerged from trunk
Francesco Chemolli [Fri, 2 Jan 2015 15:50:07 +0000 (16:50 +0100)] 
Merged from trunk

9 years agoInterim: removed needless spacing and c++ guards, started fixing DelayTagged accessin...
Francesco Chemolli [Fri, 2 Jan 2015 15:46:35 +0000 (16:46 +0100)] 
Interim: removed needless spacing and c++ guards, started fixing DelayTagged accessing SplayNodes, prevented Splay leaks on several ACL types

9 years agoRemoved useless (this==NULL) checks
Francesco Chemolli [Fri, 2 Jan 2015 15:38:19 +0000 (16:38 +0100)] 
Removed useless (this==NULL) checks

9 years agoMerged from trunk
Francesco Chemolli [Fri, 2 Jan 2015 13:37:05 +0000 (14:37 +0100)] 
Merged from trunk

9 years agoRemoved some never-true assertions
Francesco Chemolli [Fri, 2 Jan 2015 13:32:49 +0000 (14:32 +0100)] 
Removed some never-true assertions

clang uncovered several conditionals which could never be true.
Removed the conditionals entirely.

9 years agoBug 3664: ssl_crtd fails to build on OpenSolaris/OpenIndiana/Solaris 11
Andrew Evdokimov [Fri, 2 Jan 2015 13:20:24 +0000 (05:20 -0800)] 
Bug 3664: ssl_crtd fails to build on OpenSolaris/OpenIndiana/Solaris 11

9 years agoBug 3754: configure doesnt detect IPFilter 5.1.2 system headers
Amos Jeffries [Fri, 2 Jan 2015 13:15:24 +0000 (05:15 -0800)] 
Bug 3754: configure doesnt detect IPFilter 5.1.2 system headers

Solaris 10+ bundles IPFilter code natively, but the IPFilter
headers contain a duplicate definition of minor_t which does
not match the existing OS definition.

The result is that no applications (such as Squid) will build
on Solaris with the natively provided headers.

Also, the upstream IPFilter code separate from Solaris contains
the same minor_t definition so building against a separate
install of IPFilter does not fix the issue.

We must instead play fancy games #define'ing minor_t to a
different real-name for the OS headers and its own name for
the IPFilter headers.

 Thanks to Yuri Voinov for sponsoring the Solaris 10
 machine and environment resources for this fix.

9 years agoRemoved now useless assertions
Francesco Chemolli [Fri, 2 Jan 2015 10:08:20 +0000 (11:08 +0100)] 
Removed now useless assertions

9 years agoFixed unit tests
Francesco Chemolli [Fri, 2 Jan 2015 10:02:05 +0000 (11:02 +0100)] 
Fixed unit tests

9 years agoFixed Splay::insert
Francesco Chemolli [Fri, 2 Jan 2015 10:00:35 +0000 (11:00 +0100)] 
Fixed Splay::insert

9 years agoMerged from trunk
Francesco Chemolli [Fri, 2 Jan 2015 09:07:07 +0000 (10:07 +0100)] 
Merged from trunk

9 years agoAdded correct NULL check in Splay::find
Francesco Chemolli [Fri, 2 Jan 2015 09:04:54 +0000 (10:04 +0100)] 
Added correct NULL check in Splay::find

9 years agoRemoved useless C symbols
Francesco Chemolli [Fri, 2 Jan 2015 08:23:11 +0000 (09:23 +0100)] 
Removed useless C symbols

9 years agoSourceFormat Enforcement
Source Maintenance [Fri, 2 Jan 2015 06:12:06 +0000 (06:12 +0000)] 
SourceFormat Enforcement

9 years agoFix several uninitilized member issues
Amos Jeffries [Fri, 2 Jan 2015 04:13:30 +0000 (20:13 -0800)] 
Fix several uninitilized member issues

* Digest auth header field-value parser

* HTTP header statistics state data

* logformat parser token data

9 years agoRelease Notes: updates for MSNT helpers
Amos Jeffries [Fri, 2 Jan 2015 03:37:55 +0000 (19:37 -0800)] 
Release Notes: updates for MSNT helpers

9 years agoCleanup: fix most 'unused parameter' warnings
Amos Jeffries [Thu, 1 Jan 2015 08:57:18 +0000 (00:57 -0800)] 
Cleanup: fix most 'unused parameter' warnings

... and several bugs hidden by lack of this check:

* url_rewrite_timeout parser/dumper using wrong cf.data.pre
  parameter definition.

* url_rewrite_timeout parser/dumper using wrong object for
  state data.
  Global a Config object instead of parameter object.
  Preventing future use of multiple Config objects. There is
  more to be done as the Timeout value itself is not stored
  as part of the object apparently detailing the timeout.

* request_header_add directive dump() omitting directive
  name in mgr:config output.

* dead code as HTCP packet handlers for NOP, MON, SET

* mime icons download operation incorrectly initialized.
  was using the 'view' access parameter to set download
  access permission.

* peerCountHandleIcpReply() assertions testing validity
  after pointers already used. This would lead to segfault
  on errors, now leading to assertion logging.

Only the default built code was checked and updated at this
time. There are 62 known warnings still appearing due to
parameters being only used inside conditional code, possibly
more issues in code not enabled in this build and certainly
a lot more in the stubs and unit tests which were not checked.

9 years agoSplayNode::SPLAYFREE -> Splay::SPLAYFREE
Francesco Chemolli [Wed, 31 Dec 2014 08:51:04 +0000 (09:51 +0100)] 
SplayNode::SPLAYFREE -> Splay::SPLAYFREE

9 years agoSplayNode::SPLAYFREE -> Splay::SPLAYFREE
Francesco Chemolli [Wed, 31 Dec 2014 08:48:55 +0000 (09:48 +0100)] 
SplayNode::SPLAYFREE -> Splay::SPLAYFREE

9 years agoRestored splay NULL checks. Things break without them
Francesco Chemolli [Wed, 31 Dec 2014 08:45:23 +0000 (09:45 +0100)] 
Restored splay NULL checks. Things break without them

9 years agoFixed uninitialized data member in Acl::Ip
Francesco Chemolli [Wed, 31 Dec 2014 08:23:53 +0000 (09:23 +0100)] 
Fixed uninitialized data member in Acl::Ip

9 years agoFixed Acl::CertificateData
Francesco Chemolli [Wed, 31 Dec 2014 07:50:14 +0000 (08:50 +0100)] 
Fixed Acl::CertificateData

9 years agoMerged from trunk
Francesco Chemolli [Wed, 31 Dec 2014 07:34:12 +0000 (08:34 +0100)] 
Merged from trunk

9 years agontlm_sspi_auth: convert to new base64 API
Amos Jeffries [Wed, 31 Dec 2014 05:20:28 +0000 (21:20 -0800)] 
ntlm_sspi_auth: convert to new base64 API

9 years agonegotiate_sspi_auth: fix various build errors
Amos Jeffries [Wed, 31 Dec 2014 04:11:16 +0000 (20:11 -0800)] 
negotiate_sspi_auth: fix various build errors

* fix convenience library dependency detection

* convert to new base64 coding API

* remove goto's

9 years agobasic_sspi_auth: fix MinGW compile errors
Amos Jeffries [Wed, 31 Dec 2014 02:55:22 +0000 (18:55 -0800)] 
basic_sspi_auth: fix MinGW compile errors

9 years agolibsspwin32: update to new base64 API
Amos Jeffries [Wed, 31 Dec 2014 02:52:18 +0000 (18:52 -0800)] 
libsspwin32: update to new base64 API

9 years agoInterim: remove SplayNode this==NULL checks
Francesco Chemolli [Tue, 30 Dec 2014 23:12:49 +0000 (00:12 +0100)] 
Interim: remove SplayNode this==NULL checks

9 years agoCosmetic change in mem_hdr_test.cc
Francesco Chemolli [Tue, 30 Dec 2014 22:55:20 +0000 (23:55 +0100)] 
Cosmetic change in mem_hdr_test.cc

9 years agoFixed Acl::UserData
Francesco Chemolli [Tue, 30 Dec 2014 22:52:53 +0000 (23:52 +0100)] 
Fixed Acl::UserData

9 years agoCosmetic changes to src/stmem
Francesco Chemolli [Tue, 30 Dec 2014 22:39:43 +0000 (23:39 +0100)] 
Cosmetic changes to src/stmem

9 years agoFixed Acl::StringData
Francesco Chemolli [Tue, 30 Dec 2014 22:27:34 +0000 (23:27 +0100)] 
Fixed Acl::StringData

9 years agoFixed Acl::Ip
Francesco Chemolli [Tue, 30 Dec 2014 22:13:01 +0000 (23:13 +0100)] 
Fixed Acl::Ip

9 years agoFixed Acl::HttpStatus
Francesco Chemolli [Tue, 30 Dec 2014 21:58:43 +0000 (22:58 +0100)] 
Fixed Acl::HttpStatus

9 years agoFixed Eui::Eui64::encode stub
Francesco Chemolli [Tue, 30 Dec 2014 21:47:57 +0000 (22:47 +0100)] 
Fixed Eui::Eui64::encode stub

9 years agoSourceFormat Enforcement
Source Maintenance [Tue, 30 Dec 2014 18:12:05 +0000 (18:12 +0000)] 
SourceFormat Enforcement

9 years agoMigrated acl/Eui64 to Splay
Francesco Chemolli [Tue, 30 Dec 2014 16:52:25 +0000 (17:52 +0100)] 
Migrated acl/Eui64 to Splay

9 years agoMigrated acl/DomainData to Splay
Francesco Chemolli [Tue, 30 Dec 2014 16:05:48 +0000 (17:05 +0100)] 
Migrated acl/DomainData to Splay

9 years agoFixed handling of invalid SSL server certificates when splicing connections.
Christos Tsantilas [Tue, 30 Dec 2014 15:33:40 +0000 (17:33 +0200)] 
Fixed handling of invalid SSL server certificates when splicing connections.

An unpatched Squid in peek-and-splice mode may splice connections after
receiving a malformed or unsupported SSL server Hello message. This may
happen even if sslproxy_cert_error tells Squid to honor the error. After
this change, Squid honors sslproxy_cert_error setting when:

* no server certificate was found and checked using Squid validation procedure
  (e.g., because the SSL server Hello response was malformed or unsupported); or
* Squid server certificate validation procedure has failed.

If the certificate error is not allowed, Squid terminates the server connection
and attempts to bump the client connection to deliver the error message to the
user.

This is a Measurement Factory project

9 years agoMerged from trunk
Francesco Chemolli [Tue, 30 Dec 2014 14:59:16 +0000 (15:59 +0100)] 
Merged from trunk

9 years agoFix 'field precision specifier '.*' expects argument of type 'int'
Amos Jeffries [Tue, 30 Dec 2014 14:37:32 +0000 (06:37 -0800)] 
Fix 'field precision specifier '.*' expects argument of type 'int'

9 years agoReworked acl/Arp to use Splay instead of SplayNode
Francesco Chemolli [Tue, 30 Dec 2014 14:24:28 +0000 (15:24 +0100)] 
Reworked acl/Arp to use Splay instead of SplayNode

9 years agontlm_smb_lm_auth: fix compile errors after rev.13785
Amos Jeffries [Tue, 30 Dec 2014 14:24:28 +0000 (06:24 -0800)] 
ntlm_smb_lm_auth: fix compile errors after rev.13785

9 years agoAdded default arguments to Splay::destroy
Francesco Chemolli [Tue, 30 Dec 2014 14:23:21 +0000 (15:23 +0100)] 
Added default arguments to Splay::destroy
Added documentation to Splay::find
Added Splay::empty()
Removed obsolete tests in test-suite/splay.cc

9 years agontlm_fake_auth: fix compile errors after rev.13785
Amos Jeffries [Tue, 30 Dec 2014 14:07:54 +0000 (06:07 -0800)] 
ntlm_fake_auth: fix compile errors after rev.13785

9 years agoFix 64-bit compile issues in rev.13785
Amos Jeffries [Tue, 30 Dec 2014 13:40:33 +0000 (05:40 -0800)] 
Fix 64-bit compile issues in rev.13785

The Nettle 3.0 library API imported and used by rev.13785 defines
function symbols with size_t parameters where earlier libraries used
'unsigned'. This matters on 64-bit systems where unsigned is a 'int'
and size_t a 'long' - implicit conversion is not possible.

Explicitly detect the size_t API existence during ./configure time and
use the built-in logics if supplied Nettle library is an older version.

9 years agoSourceFormat Enforcement
Source Maintenance [Tue, 30 Dec 2014 12:12:03 +0000 (12:12 +0000)] 
SourceFormat Enforcement

9 years agobasic_msnt_multi_domain_auth: Superceeded by basic_smb_lm_auth
Amos Jeffries [Tue, 30 Dec 2014 10:22:29 +0000 (02:22 -0800)] 
basic_msnt_multi_domain_auth: Superceeded by basic_smb_lm_auth

This helper consisted of a Perl script requiring special Perl
SMB:Authen module and Samba nmblookup helper to operate.

It performs the same operations as basic_smb_lm_auth helper,
so is not actually needed.

It also contains a slightly ambiguous copyright license as it
was published to the squid-users mailing list in effective
Public Domain free for any use, but without explicit statement
to the fact.

9 years agobasic_msnt_auth: rename to basic_smb_lm_auth and deprecate
Amos Jeffries [Tue, 30 Dec 2014 10:05:05 +0000 (02:05 -0800)] 
basic_msnt_auth: rename to basic_smb_lm_auth and deprecate

9 years agoCrypto-NG: Base64 crypto replacement
Amos Jeffries [Tue, 30 Dec 2014 09:09:27 +0000 (01:09 -0800)] 
Crypto-NG: Base64 crypto replacement

The existing Squid base64 code had ambiguous copyright licensing. In
particular it only referenced a dead URL for source copyright
ownership details. In all likelihood this was for an Open Source
implementation, but we dont have sufficient record of the original
license terms to be certain without a long investigation.

It has also been heavily modified and customized over the decades
since importing whih complicates the issue a lot.

It also does not match any of the common industry context-based API
patterns for encoders/decoders.

This patch replaces that logic with GPLv2 licensed code from the
Nettle crypto library. Either linking the library dynamically or in
its absence embedding the logic via our libmiscencoding library.

It also updates all code to the new API, and as a byproduct removes
several layers of deprecated wrapper functions which have grown in
over the years.

9 years agoSimplified MSNT basic auth helper
Francesco Chemolli [Tue, 30 Dec 2014 07:46:14 +0000 (08:46 +0100)] 
Simplified MSNT basic auth helper

9 years agoCleanup: sync ModSelect.cc and ModSelectWin32.cc
Amos Jeffries [Tue, 30 Dec 2014 06:51:44 +0000 (22:51 -0800)] 
Cleanup: sync ModSelect.cc and ModSelectWin32.cc

9 years agoBoilerplate: add copyright blurbs for cf.data files
Amos Jeffries [Tue, 30 Dec 2014 04:55:05 +0000 (20:55 -0800)] 
Boilerplate: add copyright blurbs for cf.data files

9 years agoReverted move-constructor-related changes
Francesco Chemolli [Mon, 29 Dec 2014 16:32:29 +0000 (17:32 +0100)] 
Reverted move-constructor-related changes

9 years agoYet more aggressive workaround attempt
Francesco Chemolli [Mon, 29 Dec 2014 15:53:44 +0000 (16:53 +0100)] 
Yet more aggressive workaround attempt

9 years agoYet more aggressive workaround attempt
Francesco Chemolli [Mon, 29 Dec 2014 13:43:02 +0000 (14:43 +0100)] 
Yet more aggressive workaround attempt

9 years agoMore aggressive workaround attempt
Francesco Chemolli [Mon, 29 Dec 2014 13:14:16 +0000 (14:14 +0100)] 
More aggressive workaround attempt

9 years agoTry to disable move semantics for domaincontroller to work around clang bug in centos 6
Francesco Chemolli [Mon, 29 Dec 2014 10:35:30 +0000 (11:35 +0100)] 
Try to disable move semantics for domaincontroller to work around clang bug in centos 6