+ ssh->scmac->setkey(ssh->sc_mac_ctx, keyspace);
+ }
+ {
+ char buf[256];
+ sprintf(buf, "Initialised %.200s client->server encryption",
+ ssh->cscipher->text_name);
+ logevent(buf);
+ sprintf(buf, "Initialised %.200s server->client encryption",
+ ssh->sccipher->text_name);
+ logevent(buf);
+ if (ssh->cscomp->text_name) {
+ sprintf(buf, "Initialised %.200s compression",
+ ssh->cscomp->text_name);
+ logevent(buf);
+ }
+ if (ssh->sccomp->text_name) {
+ sprintf(buf, "Initialised %.200s decompression",
+ ssh->sccomp->text_name);
+ logevent(buf);
+ }