CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2018/12/26 20:25:25

Modified files:
        usr.bin/ssh/ssh-keysign: Makefile 
        usr.bin/ssh    : atomicio.h kex.c kex.h kexc25519.c kexc25519c.c 
                         kexc25519s.c kexdh.c kexdhc.c kexdhs.c 
                         kexecdh.c kexecdhc.c kexecdhs.c kexgex.c 
                         kexgexc.c kexgexs.c misc.c misc.h packet.c 
                         ssh.c ssh.h ssh_api.c sshconnect.c sshconnect.h 
                         sshconnect2.c sshd.c 

Log message:
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@

Reply via email to