Commit fbc19bff authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/read_packet.c:1.17
parent 42b0365a
......@@ -251,6 +251,9 @@ static int do_read_packet(struct read_handler **h,
return 0;
}
/* FIXME: Don't fail until the entire MAC has been read.
* Otherwise we will leak information about partially
* correct MAC:s. */
if (!memcmp(mac,
closure->computed_mac + closure->pos,
n))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment