]> Cypherpunks repositories - gostls13.git/commit
exp/ssh: fix test?
authorRuss Cox <rsc@golang.org>
Wed, 16 Nov 2011 23:13:50 +0000 (18:13 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 16 Nov 2011 23:13:50 +0000 (18:13 -0500)
commit8c6461bcb166cf9234be2e61eeab882f5856521b
tree2e3eb19712eb5d568b15fe33a02ac078ead694db
parent7d1d8fe430a3e1463bced18cd4e5bf08a0fa6c75
exp/ssh: fix test?

Fixes use of c after Dial failure (causes crash).
May fix Dial failure by listening to 127.0.0.1:0
instead of 0.0.0.0:0 (tests should only listen on
localhost).

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5395052
src/pkg/exp/ssh/client_auth_test.go