Descriptiongo.crypto/ssh/test: Fix distracting nil pointer dereference in a test.
If cgo is disabled (such as it appears to be on a subset of builders),
username() panics, and s.cmd is nil; let's not panic while recovering
from a different panic.
Patch Set 1 #Patch Set 2 : diff -r 3fb6a89b4ee1 https://code.google.com/p/go.crypto #Patch Set 3 : diff -r 3fb6a89b4ee1 https://code.google.com/p/go.crypto #Patch Set 4 : diff -r 3fb6a89b4ee1 https://code.google.com/p/go.crypto #MessagesTotal messages: 3
|