1
0
mirror of https://github.com/golang/go synced 2024-11-26 10:38:07 -07:00
go/src/crypto
Ryan Granger 24cb743d1f crypto/tls: include close notify in client tls test recordings
This commit fixes the issue where tls testdata recordings made with the
newer version of the prerecorded tls conversation test harness, doesn't
end up capturing the final close notify message. The fix simply ensures
that the tls.Client closes before the recording of the conversation is
closed. The closing of the client connection directly is no longer
needed when updating the recording since it will be closed when the
tls.Client is closed.

Fixes golang/go#69846

Change-Id: I93898de32abd89659a32ed240df6daea5aeaa7fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/620395
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-10-16 13:37:50 +00:00
..
aes crypto/aes: Avo port of asm_amd64.s 2024-09-04 20:36:51 +00:00
boring
cipher crypto/cipher: update documentation for aead Open 2024-09-04 14:37:02 +00:00
des
dsa
ecdh
ecdsa
ed25519
elliptic
hmac
internal crypto/internal/randutil: use math/rand/v2 2024-09-30 15:49:07 +00:00
md5 crypto/md5: provide optimised assembly for riscv64 2024-09-13 17:51:27 +00:00
rand crypto/rand: skip TestAllocations if optimizations are off 2024-10-07 16:38:43 +00:00
rc4
rsa crypto/rsa: move PSS hash override above boring block 2024-09-25 20:04:01 +00:00
sha1 crypto/sha1: Avo port of sha1block_amd64.s 2024-09-04 20:35:55 +00:00
sha256 crypto/sha256: implement sha256block in hardware on loong64 2024-09-05 00:41:00 +00:00
sha512 crypto/sha512: implement sha512block in hardware on loong64 2024-09-05 00:40:39 +00:00
subtle crypto/subtle: implement xorBytes in hardware on loong64 2024-09-11 19:40:18 +00:00
tls crypto/tls: include close notify in client tls test recordings 2024-10-16 13:37:50 +00:00
x509
crypto.go
issue21104_test.go
purego_test.go