write_PKIMESSAGE
if (opt_rspout != NULL && !write_PKIMESSAGE(res, &opt_rspout)) {
if (opt_reqout != NULL && !write_PKIMESSAGE(req, &opt_reqout))