INNER CODE UNIT · C
cur
wolfSSL/wolfssh · src/agent.c:617
cur = agent->idList;
while (cur != NULL) {
int match;
match = WMEMCMP(id, cur->id, WC_SHA256_DIGEST_SIZE);
if (match) {
prev = cur;
cur = cur->next;
}
else {
if (prev != NULL)
prev->next = cur->next;
else
agent->idList = cur->next;
wolfSSH_AGENT_ID_free(cur, agent->heap);
cur = NULL;