summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2015-04-15 16:09:29 +0000
committerjsing <>2015-04-15 16:09:29 +0000
commit7948fa34e2e3a2bdbdec9153ddb86a20ddb4944a (patch)
tree419cc1e69f401508c9f4ec1416feced70ab04630 /src
parent304dc978f4617f2656dad35305db42599e6b3c72 (diff)
downloadopenbsd-7948fa34e2e3a2bdbdec9153ddb86a20ddb4944a.tar.gz
openbsd-7948fa34e2e3a2bdbdec9153ddb86a20ddb4944a.tar.bz2
openbsd-7948fa34e2e3a2bdbdec9153ddb86a20ddb4944a.zip
Now that tls_close() is more robust, consider a failure to be fatal.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libtls/gotls/tls_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libtls/gotls/tls_test.go b/src/regress/lib/libtls/gotls/tls_test.go
index f709fcb455..2afcf93212 100644
--- a/src/regress/lib/libtls/gotls/tls_test.go
+++ b/src/regress/lib/libtls/gotls/tls_test.go
@@ -77,7 +77,7 @@ func TestTLSBasic(t *testing.T) {
77 } 77 }
78 defer func() { 78 defer func() {
79 if err := tls.Close(); err != nil { 79 if err := tls.Close(); err != nil {
80 t.Logf("Close failed: %v", err) 80 t.Fatalf("Close failed: %v", err)
81 } 81 }
82 }() 82 }()
83 83