Sfoglia il codice sorgente

go.crypto/ssh: use 127.0.0.1 during TestKexAlgorithms (fixes windows build)

R=golang-dev, mikioh.mikioh, remyoudompheng
CC=golang-dev
https://golang.org/cl/13370043
Alex Brainman 12 anni fa
parent
commit
665213f561
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ssh/kex_test.go

+ 1 - 1
ssh/kex_test.go

@@ -13,7 +13,7 @@ import (
 )
 )
 
 
 func pipe() (net.Conn, net.Conn, error) {
 func pipe() (net.Conn, net.Conn, error) {
-	l, err := net.Listen("tcp", ":0")
+	l, err := net.Listen("tcp", "127.0.0.1:0")
 	if err != nil {
 	if err != nil {
 		return nil, nil, err
 		return nil, nil, err
 	}
 	}