Accept some overlong SASL reponses
authorArnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Thu, 16 Oct 2014 07:29:36 +0000 (09:29 +0200)
committerArnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Thu, 16 Oct 2014 07:29:36 +0000 (09:29 +0200)
commitd358532b2c196720cccf06228a62458315a1479b
tree12759103973e2ae626c01ce9e0f7e53076adf969
parent11a900d6eddea46bbe5fdf1080d82ae982dc9592
Accept some overlong SASL reponses

Base64 ignores random characters, so inserting extra spaces or quote
characters is harmless in the base64 stage. This change permits broken
clients that send "aaaa" instead of aaaa to work with digest-md5. This
concerns old versions of mailkit and possibly another client.
sasl/digest-md5.cpp