Skip to content

Commit

Permalink
Bug 1886: Log IANA encryption algorithm names
Browse files Browse the repository at this point in the history
https://winscp.net/tracker/1886
(cherry picked from commit c6401de)

Source commit: 6848c87c907def0d7bda254a636c0aba93f4d728
  • Loading branch information
martinprikryl committed Nov 26, 2020
1 parent 3f78c3e commit 21b5a61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/putty/ssh2bpp.c
Expand Up @@ -129,8 +129,8 @@ void ssh2_bpp_new_outgoing_crypto(
(ssh_cipher_alg(s->out.cipher)->flags & SSH_CIPHER_IS_CBC) &&
!(s->bpp.remote_bugs & BUG_CHOKES_ON_SSH2_IGNORE));

bpp_logevent("Initialised %s outbound encryption",
ssh_cipher_alg(s->out.cipher)->text_name);
bpp_logevent("Initialised %s [%s] outbound encryption",
ssh_cipher_alg(s->out.cipher)->text_name, ssh_cipher_alg(s->out.cipher)->ssh2_id);
} else {
s->out.cipher = NULL;
s->cbc_ignore_workaround = false;
Expand Down Expand Up @@ -187,8 +187,8 @@ void ssh2_bpp_new_incoming_crypto(
ssh_cipher_setkey(s->in.cipher, ckey);
ssh_cipher_setiv(s->in.cipher, iv);

bpp_logevent("Initialised %s inbound encryption",
ssh_cipher_alg(s->in.cipher)->text_name);
bpp_logevent("Initialised %s [%s] inbound encryption",
ssh_cipher_alg(s->in.cipher)->text_name, ssh_cipher_alg(s->in.cipher)->ssh2_id);
} else {
s->in.cipher = NULL;
}
Expand Down

0 comments on commit 21b5a61

Please sign in to comment.