X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/1630bb613032dddc3515a05c22e7d1c503c85a12..21d7754ff471c56233c98f67f8426511e6909276:/ssh.c diff --git a/ssh.c b/ssh.c index 26b26c32..a8646146 100644 --- a/ssh.c +++ b/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);