(text/x-markdown)
The test expects the connection to fail -- which it does, but the error message does not match the test's expectation:
```
---- Result was:
handshake failed: unsupported protocol
---- Result should have been (exact matching):
handshake failed: wrong version number
```
This is on FreeBSD-13.x with OpenSSL 1.1.1q-freebsd 5 Jul 2022...
Relaxing the matching requirement helps:
```patch
@@ -2027,5 +2028,5 @@
} {{} 0 {} 0 {}}
-test tls-bug58-1.0 {test protocol negotiation failure} {socket} {
+test tls-bug58-1.0 {test protocol negotiation failure} -constraints {socket} -body {
# Following code is based on what was reported in bug #58. Prior
# to fix the program would crash with a segfault.
@@ -2062,5 +2063,5 @@
}
set ::done
-} {handshake failed: wrong version number}
+} -result {handshake failed: *} -match glob
# cleanup
```
|