1. 11 Feb, 2015 1 commit
    • rubyist's avatar
      crypto/x509: allow matchHostnames to work with absolute domain names · 32304fc9
      rubyist authored
      If an absolute domain name (i.e. ends in a '.' like "example.com.") is used
      with ssl/tls, the certificate will be reported as invalid. In matchHostnames,
      the host and patterns are split on '.' and if the lengths of the resulting
      slices do not match, the function returns false. When splitting an absolute
      domain name on '.', the slice will have an extra empty string at the end. This
      empty string should be discarded before comparison, if present.
      
      Fixes #9828
      
      Change-Id: I0e39674b44a6f93b5024497e76cf1b550832a61d
      Reviewed-on: https://go-review.googlesource.com/4380Reviewed-by: 's avatarAdam Langley <agl@golang.org>
      TryBot: Adam Langley <agl@golang.org>
      32304fc9
  2. 10 Feb, 2015 13 commits
  3. 09 Feb, 2015 9 commits
  4. 08 Feb, 2015 7 commits
  5. 07 Feb, 2015 5 commits
  6. 06 Feb, 2015 5 commits