INNER CODE UNIT · C

msg

wolfSSL/wolfssh · src/agent.c:91

        msg = (byte*)WMALLOC(payloadSz, agent->heap, DYNTYPE_AGENT_BUFFER);
        if (msg == NULL)
            ret = WS_MEMORY_E;
    }

    if (ret == WS_SUCCESS) {
        agent->msg = msg;
        agent->msgSz = payloadSz;
        agent->msgIdx = LENGTH_SZ;
    }

    WLOG_LEAVE(ret);
    return ret;
}


/* payloadSz is the actual payload size. */
static int BundleMessage(WOLFSSH_AGENT_CTX* agent, word32 payloadSz)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…