X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshccp.c;h=0b3dc5737c1babe3e4640a42329ef03e8939b356;hb=af1460d6e5044a3344aaacd15c91cfdcb58578e7;hp=82aca02bb12faa79abdd4f56e4aae9ac16f8f02e;hpb=b266d671acee34f9305950bfd87054b3b7fcded6;p=PuTTY.git diff --git a/sshccp.c b/sshccp.c index 82aca02b..0b3dc573 100644 --- a/sshccp.c +++ b/sshccp.c @@ -1238,7 +1238,7 @@ static const struct ssh_mac ssh2_poly1305 = { poly_start, poly_bytes, poly_genresult, poly_verresult, "", "", /* Not selectable individually, just part of ChaCha20-Poly1305 */ - 16, "Poly1305" + 16, 0, "Poly1305" }; static void *ccp_make_context(void) @@ -1331,7 +1331,7 @@ static const struct ssh2_cipher ssh2_chacha20_poly1305 = { ccp_decrypt_length, "chacha20-poly1305@openssh.com", - 1, 512, SSH_CIPHER_SEPARATE_LENGTH, "ChaCha20", + 1, 512, 64, SSH_CIPHER_SEPARATE_LENGTH, "ChaCha20", &ssh2_poly1305 };