START lib/libtls/gotls 2024-08-15T09:28:52Z ==== regress-gotls ==== cd /usr/src/regress/lib/libtls/gotls && go test -test.v . === RUN TestTLSBasic tls_test.go:214: Connecting to 127.0.0.1:22400 tls_test.go:229: Wrote 16 bytes... tls_test.go:236: Read 129 bytes... --- PASS: TestTLSBasic (0.21s) === RUN TestTLSVersions tls_test.go:262: Testing handshake with protocols 301:304 tls_test.go:262: Testing handshake with protocols 300:303 tls_test.go:262: Testing handshake with protocols 301:303 tls_test.go:262: Testing handshake with protocols 302:303 tls_test.go:262: Testing handshake with protocols 300:302 2024/08/08 11:26:55 http: TLS handshake error from 127.0.0.1:33101: tls: client offered only unsupported versions: [304 303] tls_test.go:262: Testing handshake with protocols 300:301 2024/08/08 11:26:55 http: TLS handshake error from 127.0.0.1:21361: tls: client offered only unsupported versions: [304 303] tls_test.go:262: Testing handshake with protocols 300:300 2024/08/08 11:26:55 http: TLS handshake error from 127.0.0.1:2956: tls: client offered only unsupported versions: [304 303] tls_test.go:262: Testing handshake with protocols 301:301 2024/08/08 11:26:55 http: TLS handshake error from 127.0.0.1:42968: tls: client offered only unsupported versions: [304 303] tls_test.go:262: Testing handshake with protocols 302:302 2024/08/08 11:26:55 http: TLS handshake error from 127.0.0.1:39898: tls: client offered only unsupported versions: [304 303] tls_test.go:262: Testing handshake with protocols 303:303 --- PASS: TestTLSVersions (0.97s) === RUN TestTLSSingleByteReadWrite tls_test.go:315: Connecting to 127.0.0.1:43380 --- PASS: TestTLSSingleByteReadWrite (0.18s) === RUN TestTLSInfo tls_test.go:384: Connecting to 127.0.0.1:31782 tls_test.go:439: Protocol version: TLSv1.3 tls_test.go:444: Cipher: TLS_CHACHA20_POLY1305_SHA256 tls_test.go:449: Cipher Strength: 256 bits tls_test.go:464: Issuer: /O=Acme Co tls_test.go:469: Subject: /O=Acme Co tls_test.go:476: Hash: SHA256:1153aa0230ee0481b36bdd83ddb04b607340dbda35f3a4fff0615e4d9292d687 tls_test.go:483: NotBefore: 1970-01-01 00:00:00 +0000 UTC tls_test.go:490: NotAfter: 2084-01-29 16:00:00 +0000 UTC 2024/08/08 11:26:56 http: TLS handshake error from 127.0.0.1:44974: read tcp 127.0.0.1:31782->127.0.0.1:44974: use of closed network connection --- PASS: TestTLSInfo (0.17s) PASS ok gotls (cached) PASS lib/libtls/gotls Duration 0m06.33s