1
0
mirror of https://github.com/libp2p/go-openssl.git synced 2025-04-25 17:50:23 +08:00

space monkey internal commit export

[katamari commit: e83c1c725d54438eea74343bfd6b3d2e2f3c9761]
This commit is contained in:
JT Olds 2014-02-28 11:31:26 -07:00
parent b94151d9ec
commit 6993541398

View File

@ -246,13 +246,13 @@ func (c *Conn) PeerCertificate() (*Certificate, error) {
}
type ConnectionState struct {
Certificate *Certificate
CertificateError error
Certificate *Certificate
CertificateError error
}
func (c *Conn) ConnectionState() (rv ConnectionState) {
rv.Certificate, rv.CertificateError = c.PeerCertificate()
return
rv.Certificate, rv.CertificateError = c.PeerCertificate()
return
}
func (c *Conn) shutdown() func() error {