]> Cypherpunks repositories - gostls13.git/commit
exp/ssh: fix unmarshal test
authorDave Cheney <dave@cheney.net>
Wed, 16 Nov 2011 15:19:56 +0000 (10:19 -0500)
committerAdam Langley <agl@golang.org>
Wed, 16 Nov 2011 15:19:56 +0000 (10:19 -0500)
commit00f9b7680a8481e988b20414699fb25b0030079b
tree10fbfbd4f7fffbc231dfe2f2e2ef15741d32d5b0
parent3307597069f533a1f34beadb735af804d47ef6de
exp/ssh: fix unmarshal test

Ensure that empty NameLists always return
a zero length []string, not nil.

In practice NameLists are only used in a few
message types and always consumed by a for
range function so the difference between nil
and []string{} is not significant.

Also, add exp/ssh to pkg/Makefile as suggested
by rsc.

R=rsc, agl
CC=golang-dev
https://golang.org/cl/5400042
src/pkg/exp/ssh/messages.go