INNER CODE UNIT · C
id
wolfSSL/wolfssh · src/agent.c:226
id = agent->idList;
while (id != NULL) {
idCount++;
msgSz += LENGTH_SZ * 2 + id->keyBlobSz + id->commentSz;
id = id->next;
}
ret = PrepareMessage(agent, msgSz);
}
if (ret == WS_SUCCESS) {
byte* msg = agent->msg;
word32 idx = agent->msgIdx;
msg[idx++] = MSGID_AGENT_IDENTITIES_ANSWER;
c32toa(idCount, msg + idx);
idx += UINT32_SZ;