mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Trivial fix for when the two directions select different encryption
algorithms [originally from svn r869]
This commit is contained in:
parent
0990485276
commit
e364010d4f
2
ssh.c
2
ssh.c
@ -2279,7 +2279,7 @@ static int do_ssh2_transport(unsigned char *in, int inlen, int ispkt)
|
||||
* Set IVs after keys.
|
||||
*/
|
||||
ssh2_mkkey(K, exchange_hash, 'C', keyspace); cscipher->setcskey(keyspace);
|
||||
ssh2_mkkey(K, exchange_hash, 'D', keyspace); cscipher->setsckey(keyspace);
|
||||
ssh2_mkkey(K, exchange_hash, 'D', keyspace); sccipher->setsckey(keyspace);
|
||||
ssh2_mkkey(K, exchange_hash, 'A', keyspace); cscipher->setcsiv(keyspace);
|
||||
ssh2_mkkey(K, exchange_hash, 'B', keyspace); sccipher->setsciv(keyspace);
|
||||
ssh2_mkkey(K, exchange_hash, 'E', keyspace); csmac->setcskey(keyspace);
|
||||
|
Loading…
Reference in New Issue
Block a user