]> git.ipfire.org Git - thirdparty/gcc.git/commit
crypto/tls: fix Config.Time in tests using expired certificates
authorIan Lance Taylor <iant@golang.org>
Sat, 4 Jan 2025 23:54:58 +0000 (15:54 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 6 Jan 2025 17:59:32 +0000 (09:59 -0800)
commited1493e12ed75e837e9b9aa794ed24daf397df7c
tree12fcf0c0f19bce771ad393724239a7d4a7cd19f8
parent803808b4ad224ba6862538b63e59b15778c60975
crypto/tls: fix Config.Time in tests using expired certificates

This is a backport of https://go.dev/cl/640237 from the main repo.

Fixes PR go/118286

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/640435
gcc/go/gofrontend/MERGE
libgo/go/crypto/tls/handshake_client_test.go
libgo/go/crypto/tls/handshake_server_test.go
libgo/go/crypto/tls/handshake_test.go
libgo/go/crypto/tls/tls_test.go