adjust min_datalen in a few places
commite05fd55cbfee4e4023db6595ae04fa79275c8637
authorOmar Polo <op@omarpolo.com>
Mon, 26 Feb 2024 17:03:34 +0000 (26 17:03 +0000)
committerOmar Polo <op@omarpolo.com>
Mon, 26 Feb 2024 17:03:34 +0000 (26 17:03 +0000)
treedbd60678423e6751d00d9b0cca8a63a876e05b63
parentcc57c2cb8c8d6bc0a47692b47a6fefc5adaf2510
adjust min_datalen in a few places

Fix the computation of min_datalen that was forgotten in
8f137979fc5e284a136cf8950e8b3895d7ea208b.

got_privsep_recv_imsg() already takes care of converting
GOT_IMSG_ERROR to errors, so just how we didn't need to call
recv_imsg_error() at all, we don't need to include it in the requested
min_datalen.
lib/privsep.c