commit | 0a843d9a0e805f14653a555f5c7a8ba99d62c12d | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]> | Thu Dec 27 03:25:24 2018 +0000 |
committer | Damien Miller <[email protected]> | Thu Dec 27 14:38:22 2018 +1100 |
tree | 481f36e9fd1918be5449e369a97c086a1a8d2432 | |
parent | 434b587afe41c19391821e7392005068fda76248 [diff] |
upstream: move client/server SSH-* banners to buffers under ssh->kex and factor out the banner exchange. This eliminates some common code from the client and server. Also be more strict about handling \r characters - these should only be accepted immediately before \n (pointed out by Jann Horn). Inspired by a patch from Markus Schmidt. (lots of) feedback and ok markus@ OpenBSD-Commit-ID: 1cc7885487a6754f63641d7d3279b0941890275b