Branch: Tag:

2015-12-04

2015-12-04 09:38:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Perform a case-insensitive hostname check.

322:    if (cert->ext_subjectAltName_dNSName) {    globs += cert->ext_subjectAltName_dNSName;    } -  result->verified = glob(globs, session->server_name); +  result->verified = glob(map(globs, lower_case), +  lower_case(session->server_name));    }       // This data isn't actually used internally.