don't pass pointer to struct sshcipher between privsep processes,
authordjm <djm@openbsd.org>
Sat, 24 Jun 2017 06:38:11 +0000 (06:38 +0000)
committerdjm <djm@openbsd.org>
Sat, 24 Jun 2017 06:38:11 +0000 (06:38 +0000)
commit253a922e815618d1730434aacecbb81a40d6eea5
tree116bbf948819c8b857de65c75f8866bf38af8f84
parent4da2adaa3072eb71d453466e2ed72eed9dc66dd6
don't pass pointer to struct sshcipher between privsep processes,
just redo the lookup in each using the already-passed cipher name.
bz#2704 based on patch from Brooks Davis; ok markus dtucker
usr.bin/ssh/packet.c