CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]       2026/06/14 02:50:26

Modified files:
        usr.sbin/relayd: ca.c 

Log message:
relayd: use imsg_get_ibuf() for variable-length CA key operations

The IMSG_CA_PRIVENC/PRIVDEC messages carry a ctl_keyop header followed
by cko_flen (request) or cko_tlen (response) trailing bytes, so the
exact-size imsg_get_data() cannot be used. Read the header with
imsg_get_ibuf() + ibuf_get() and take the payload from the same ibuf
via ibuf_data()/ibuf_size().

Tweaks (in a different commit) and OK claudio

Reply via email to