diff options
author | David Benjamin <davidben@chromium.org> | 2014-09-06 20:49:07 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-09-16 01:08:11 +0400 |
commit | 812152aa3b6404b139135096fa22c06d9910f68e (patch) | |
tree | e5dcb69099f968ae90894e9677f61f21dede2c3b /ssl/test | |
parent | e78bfded9f24725c47e0f5d0a64465566c3bdcf2 (diff) |
Don't deadlock if a resume test fails the first half.
Otherwise the child is busy waiting for its second handshake.
Change-Id: Ic613eeb04c5d6c1ec1e1bbcb13946d3ac31d05f1
Reviewed-on: https://boringssl-review.googlesource.com/1752
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/test')
-rw-r--r-- | ssl/test/runner/runner.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go index ae744646..0a5888cf 100644 --- a/ssl/test/runner/runner.go +++ b/ssl/test/runner/runner.go @@ -679,8 +679,8 @@ func runTest(test *testCase, buildDir string) error { conn.Close() if err == nil && test.resumeSession { err = doExchange(test, &config, connResume, test.messageLen) - connResume.Close() } + connResume.Close() childErr := shim.Wait() |