commit | 177cd647c9fa02329fb9800f71282b233170f986 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Mon Mar 14 11:39:08 2011 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Mon Mar 14 11:40:22 2011 -0700 |
tree | bf26f9314a4b256c1ec9c9e50ed18bd6044e71a7 | |
parent | 4ccaefba5f96ebac5c7bb90c9b44463200afe18e [diff] |
Backport hostname verification correctness fix From libcore's commit with sha 6767bdbe6bb1d4542c97868d8df1f71d2414fc62 The only behavior change should be a bug fix. There was a check "cn.lastIndexOf('.') >= 0" that was always true. This has been fixed to match the comment "require two dots". Change-Id: I680cad56a1f86150128e587f8c8e19be6ef27bc3