1
0
mirror of https://github.com/golang/go synced 2024-11-17 14:14:56 -07:00
go/src/crypto
Cherry Zhang 0163bdae68 crypto/tls: fix TestLinkerGC test
A test that checks if "tls.(*Conn)" appears in any symbol's name.
tls.Conn is a type, so the string "tls.(*Conn)" can only appear
in the name of a method of Conn. But the test code doesn't use
any of the methods. Not sure why this needs to be live. In
particular, the linker is now able to prune all methods of Conn.
Remove this requirement. In fact, just drop the only_conn test
case, as simply allocating a type doesn't necessarily bring
anything live.

Change-Id: I754291b75d38e1465b5291b4dea20806615d21b3
Reviewed-on: https://go-review.googlesource.com/c/go/+/257973
Trust: Cherry Zhang <cherryyz@google.com>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
2020-09-29 14:36:12 +00:00
..
aes
cipher crypto/cipher: require non-zero nonce size for AES-GCM 2020-02-24 15:45:26 +00:00
des crypto/des: fix typo in permuteInitialBlock function comments 2020-09-22 21:24:40 +00:00
dsa all: fix a bunch of misspellings 2019-11-15 21:04:43 +00:00
ecdsa crypto/rsa,crypto/ecdsa,crypto/ed25519: implement PrivateKey.Equal 2020-05-05 18:05:10 +00:00
ed25519 crypto/ed25519: remove s390x KDSA implementation 2020-07-30 16:00:05 +00:00
elliptic crypto,internal/bytealg: fix assembly that clobbers BP 2020-08-16 17:05:18 +00:00
hmac crypto/hmac: speed up repeated operations with the same key 2020-05-07 15:47:09 +00:00
internal
md5 crypto,internal/bytealg: fix assembly that clobbers BP 2020-08-16 17:05:18 +00:00
rand
rc4
rsa crypto: fix PKCS space in docs 2020-07-08 17:21:49 +00:00
sha1
sha256
sha512 crypto/sha512: optimize sha512 by removing function literal 2020-04-03 18:17:13 +00:00
subtle
tls crypto/tls: fix TestLinkerGC test 2020-09-29 14:36:12 +00:00
x509 crypto/x509: define certDirectories per GOOS 2020-09-29 06:10:34 +00:00
crypto.go crypto: fix PKCS space in docs 2020-07-08 17:21:49 +00:00
issue21104_test.go