Lines Matching refs:aresp
323 struct pam_response *aresp; in openpam_ttyconv() local
330 if ((aresp = calloc(n, sizeof *aresp)) == NULL) in openpam_ttyconv()
333 aresp[i].resp_retcode = 0; in openpam_ttyconv()
334 aresp[i].resp = NULL; in openpam_ttyconv()
338 (aresp[i].resp = strdup(respbuf)) == NULL) in openpam_ttyconv()
343 (aresp[i].resp = strdup(respbuf)) == NULL) in openpam_ttyconv()
362 *resp = aresp; in openpam_ttyconv()
367 if (aresp[i].resp != NULL) { in openpam_ttyconv()
368 strlset(aresp[i].resp, 0, PAM_MAX_RESP_SIZE); in openpam_ttyconv()
369 FREE(aresp[i].resp); in openpam_ttyconv()
372 memset(aresp, 0, n * sizeof *aresp); in openpam_ttyconv()
373 FREE(aresp); in openpam_ttyconv()