diff options
Diffstat (limited to 'ssl/test/runner/runner.go')
-rw-r--r-- | ssl/test/runner/runner.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ssl/test/runner/runner.go b/ssl/test/runner/runner.go index 9ae72ef5..0523042d 100644 --- a/ssl/test/runner/runner.go +++ b/ssl/test/runner/runner.go @@ -442,9 +442,6 @@ func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool) er if *fuzzer { config.Bugs.NullAllCiphers = true } - if *deterministic { - config.Rand = &deterministicRand{} - } conn = &timeoutConn{conn, *idleTimeout} @@ -903,6 +900,10 @@ func runTest(test *testCase, shimPath string, mallocNumToFail int64) error { config := test.config + if *deterministic { + config.Rand = &deterministicRand{} + } + conn, err := acceptOrWait(listener, waitChan) if err == nil { err = doExchange(test, &config, conn, false /* not a resumption */) |