]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshccp.c
Add a key-length field to 'struct ssh_mac'.
[PuTTY.git] / sshccp.c
index 82aca02bb12faa79abdd4f56e4aae9ac16f8f02e..5400d36cbead016443552b3ddba720779e4f2393 100644 (file)
--- 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)