1
0
mirror of https://github.com/golang/go synced 2024-11-08 09:36:24 -07:00
go/src/crypto
Adam Langley f02dda50e8 crypto/tls: don't hold lock when closing underlying net.Conn.
There's no need to hold the handshake lock across this call and it can
lead to deadlocks if the net.Conn calls back into the tls.Conn.

Fixes #18426.

Change-Id: Ib1b2813cce385949d970f8ad2e52cfbd1390e624
Reviewed-on: https://go-review.googlesource.com/36561
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-02-09 19:02:55 +00:00
..
aes crypto/aes: correct 'noescape' typo in s390x 2016-12-14 16:10:22 +00:00
cipher all: make spelling consistent 2016-12-08 23:22:37 +00:00
des crypto/des: improve the throughput of DES and 3DES 2017-02-07 14:17:05 +00:00
dsa crypto/dsa: gofmt 2017-01-11 17:10:59 +00:00
ecdsa crypto/ecdsa: correct code comment. 2016-10-02 19:38:37 +00:00
elliptic crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
hmac
internal/cipherhw crypto/{cipher,tls,internal/cryptohw}: prioritise AES-GCM when hardware support is present. 2016-11-07 20:01:18 +00:00
md5 crypto/md5, crypto/sha1, crypto/sha256: add examples for checksumming a file 2016-09-19 17:29:19 +00:00
rand math/big: add Baillie-PSW test to (*Int).ProbablyPrime 2016-11-22 02:05:47 +00:00
rc4
rsa crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
sha1 crypto: detect BMI usability on AMD64 for sha1 and sha256 2017-01-05 15:37:37 +00:00
sha256 crypto: detect BMI usability on AMD64 for sha1 and sha256 2017-01-05 15:37:37 +00:00
sha512 crypto/sha512: improve performance for sha512.block on ppc64le 2016-10-31 19:13:52 +00:00
subtle
tls crypto/tls: don't hold lock when closing underlying net.Conn. 2017-02-09 19:02:55 +00:00
x509 crypto/x509: sort the list of fields used by CreateCertificateRequest. 2017-02-09 18:34:18 +00:00
crypto.go