CVSROOT: /cvs Module name: src Changes by: dtuc...@cvs.openbsd.org 2023/03/06 05:14:48
Modified files: usr.bin/ssh : compat.c compat.h kex.c kex.h sshconnect2.c sshd.c Log message: Refactor creation of KEX proposal. This adds kex_proposal_populate_entries (and corresponding free) which populates the KEX proposal array with dynamically allocated strings. This replaces the previous mix of static and dynamic that has been the source of previous leaks and bugs. Remove unused compat functions. With & ok djm@.