]> git.ipfire.org Git - thirdparty/squid.git/commit - src/auth/basic/Config.cc
Bug 3969: user credentials cache lookup for Digest authentication broken
authorFrederic Bourgeois <fredbmail@free.fr>
Mon, 10 Feb 2014 11:08:58 +0000 (04:08 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 10 Feb 2014 11:08:58 +0000 (04:08 -0700)
commitd8d76b36aecec5b0c5f0ba93078b8e9829790ae8
treefdf9930ece34df11e0768af5c1dd15ab8f7ed51f
parentef5831aaa7ae91db890887d3d818c3f45bae1dcb
Bug 3969: user credentials cache lookup for Digest authentication broken

Changes to the username credentials cache were made in Basic auth but
the matching changes were not duplicated to Digest auth. Since the
lookup is identical move it to generic Auth::Config.

Also fixes assertion auth_digest.cc:759:
    "(nonce->user == NULL) || (nonce->user == user)"
src/auth/Config.cc
src/auth/Config.h
src/auth/basic/auth_basic.cc
src/auth/digest/auth_digest.cc