all: rename os.Error to error in various non-code contexts

R=adg
CC=golang-dev
https://golang.org/cl/5328062
This commit is contained in:
Russ Cox 2011-11-01 22:58:09 -04:00
parent 107fb7400c
commit da5cf2d336

View File

@ -828,7 +828,7 @@ func (c *Conn) OCSPResponse() []byte {
} }
// VerifyHostname checks that the peer certificate chain is valid for // VerifyHostname checks that the peer certificate chain is valid for
// connecting to host. If so, it returns nil; if not, it returns an os.Error // connecting to host. If so, it returns nil; if not, it returns an error
// describing the problem. // describing the problem.
func (c *Conn) VerifyHostname(host string) error { func (c *Conn) VerifyHostname(host string) error {
c.handshakeMutex.Lock() c.handshakeMutex.Lock()