| commit | 285fb2ed20d1dc450fc743a1b3ff7c36bef372b9 | [log] [tgz] |
|---|---|---|
| author | Han-Wen Nienhuys <hanwen@google.com> | Tue Apr 26 14:32:32 2016 +0200 |
| committer | Han-Wen Nienhuys <hanwen@google.com> | Tue Apr 26 14:51:09 2016 +0000 |
| tree | b08ff26d51b57642ffa3263994ead747f801009b | |
| parent | c9aef117f53e16ed3a6cc3d93cd357dbf2005065 [diff] |
x/crypto/ssh: fix subsequent key exchanges. In https://go-review.googlesource.com/#/c/21606/ , kexResult.SessionID was erroneously not set for all but the first key exchange. The unittests did not catch this, as server and client make the same mistake, but OpenSSH notices corrupted data and kills the connection. Fixes #15445. Change-Id: If98249b37d81efaa2ebefc836df0b150feba1256 Reviewed-on: https://go-review.googlesource.com/22418 Reviewed-by: Adam Langley <agl@golang.org> Run-TryBot: Han-Wen Nienhuys <hanwen@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>