git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13261
7612ce4b-ef26-0410-bec9-
ea0150e637f0
*/
function digest_md5_parse_challenge($challenge) {
$challenge=base64_decode($challenge);
*/
function digest_md5_parse_challenge($challenge) {
$challenge=base64_decode($challenge);
- while (isset($challenge)) {
+ while (isset($challenge) && $challenge !== FALSE) {
if ($challenge{0} == ',') { // First char is a comma, must not be 1st time through loop
$challenge=substr($challenge,1);
}
if ($challenge{0} == ',') { // First char is a comma, must not be 1st time through loop
$challenge=substr($challenge,1);
}