recv_msg
if ((status = recv_msg(helper->fd, msg)) != SSH2_AGENT_SIGN_RESPONSE) {
type = recv_msg(helper->fd, msg);