소스 검색

http: add https client support

Fixes #851.

R=rsc
CC=golang-dev
https://golang.org/cl/1729052
tls13
Fazlul Shahriar 14 년 전
committed by Russ Cox
부모
커밋
5f134f7d77
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      handshake_client.go

+ 1
- 1
handshake_client.go 파일 보기

@@ -93,7 +93,7 @@ func (c *Conn) clientHandshake() os.Error {
}

// TODO(rsc): Find certificates for OS X 10.6.
if false && c.config.RootCAs != nil {
if c.config.RootCAs != nil {
root := c.config.RootCAs.FindParent(certs[len(certs)-1])
if root == nil {
return c.sendAlert(alertBadCertificate)


불러오는 중...
취소
저장