]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Refactor creation of KEX proposal.
authordtucker@openbsd.org <dtucker@openbsd.org>
Mon, 6 Mar 2023 12:14:48 +0000 (12:14 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 6 Mar 2023 12:31:52 +0000 (23:31 +1100)
commit9641753e0fd146204d57b2a4165f552a81afade4
tree78feed3f9ff1590ae36a14355b308e887e881273
parentaa59d6a489fb20973fa461d0fdb1110db412947b
upstream: 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@.

OpenBSD-Commit-ID: f2f99da4aae2233cb18bf9c749320c5e040a9c7b
compat.c
compat.h
kex.c
kex.h
sshconnect2.c
sshd.c