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
Showing
- gcc/go/gofrontend/MERGE 1 addition, 1 deletiongcc/go/gofrontend/MERGE
- libgo/go/crypto/tls/handshake_client_test.go 16 additions, 12 deletionslibgo/go/crypto/tls/handshake_client_test.go
- libgo/go/crypto/tls/handshake_server_test.go 2 additions, 0 deletionslibgo/go/crypto/tls/handshake_server_test.go
- libgo/go/crypto/tls/handshake_test.go 5 additions, 0 deletionslibgo/go/crypto/tls/handshake_test.go
- libgo/go/crypto/tls/tls_test.go 1 addition, 3 deletionslibgo/go/crypto/tls/tls_test.go
Loading
Please register or sign in to comment