浏览代码

crypto/tls, fmt: print fixes

R=golang-dev, bradfitz, minux.ma, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/5787069
tls13
Robert Hencke 12 年前
committed by Mikio Hara
父节点
当前提交
46f6bfea8f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      root_test.go

+ 1
- 1
root_test.go 查看文件

@@ -50,7 +50,7 @@ func TestCertHostnameVerifyWindows(t *testing.T) {
conn, err := Dial("tcp", addr+":443", cfg)
if err == nil {
conn.Close()
t.Errorf("should fail to verify for example.com: %v", addr, err)
t.Errorf("should fail to verify for example.com: %v", addr)
continue
}
_, ok := err.(x509.HostnameError)


正在加载...
取消
保存