Home | History | Annotate | Download | only in openssh

Lines Matching refs:idl

272 	struct ssh_identitylist *idl = NULL;
325 if ((idl = calloc(1, sizeof(*idl))) == NULL ||
326 (idl->keys = calloc(num, sizeof(*idl->keys))) == NULL ||
327 (idl->comments = calloc(num, sizeof(*idl->comments))) == NULL) {
336 &(idl->keys[i]), &(idl->comments[i]))) != 0)
342 &(idl->keys[i]), &(idl->comments[i]))) != 0) {
354 idl->nkeys = num;
355 *idlp = idl;
356 idl = NULL;
360 if (idl != NULL)
361 ssh_free_identitylist(idl);
366 ssh_free_identitylist(struct ssh_identitylist *idl)
370 if (idl == NULL)
372 for (i = 0; i < idl->nkeys; i++) {
373 if (idl->keys != NULL)
374 sshkey_free(idl->keys[i]);
375 if (idl->comments != NULL)
376 free(idl->comments[i]);
378 free(idl);