Home | History | Annotate | Download | only in pam_ssh

Lines Matching defs:psk

104 	struct pam_ssh_key *psk;
138 if ((psk = malloc(sizeof(*psk))) == NULL) {
143 psk->key = key;
144 psk->comment = comment;
145 return (psk);
155 struct pam_ssh_key *psk;
157 psk = data;
158 sshkey_free(psk->key);
159 free(psk->comment);
160 free(psk);
170 struct pam_ssh_key *psk;
206 psk = pam_ssh_load_key(pwd->pw_dir, *kfn, passphrase, nullok);
207 if (psk != NULL) {
208 pam_set_data(pamh, *kfn, psk, pam_ssh_free_key);
357 const struct pam_ssh_key *psk;
386 psk = vp;
387 if (pam_err == PAM_SUCCESS && psk != NULL) {
388 if (ssh_add_identity(agent_fd, psk->key, psk->comment))
390 "added %s to ssh agent", psk->comment);
393 "to add %s to ssh agent", psk->comment);