Lines Matching refs:comment
118 delete_one(int agent_fd, const struct sshkey *key, const char *comment, in delete_one() argument
130 sshkey_type(key), comment ? comment : "no comment"); in delete_one()
175 char *certpath = NULL, *comment = NULL; in delete_file() local
181 if ((r = sshkey_load_public(filename, &public, &comment)) != 0) { in delete_file()
188 if (delete_one(agent_fd, public, comment, filename, qflag) == 0) in delete_file()
196 free(comment); in delete_file()
197 comment = NULL; in delete_file()
199 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
209 if (delete_one(agent_fd, cert, comment, certpath, qflag) == 0) in delete_file()
216 free(comment); in delete_file()
252 char *comment = NULL; in add_file() local
289 &comment)) != 0 && r != SSH_ERR_KEY_WRONG_PASSPHRASE) { in add_file()
297 &comment)) != 0 && r != SSH_ERR_KEY_WRONG_PASSPHRASE) { in add_file()
313 &private, &comment)) == 0) in add_file()
330 if (comment == NULL || *comment == '\0') in add_file()
331 comment = xstrdup(filename); in add_file()
337 filename, comment); in add_file()
378 (r = ssh_add_identity_constrained(agent_fd, private, comment, in add_file()
384 filename, comment); in add_file()
432 if ((r = ssh_add_identity_constrained(agent_fd, private, comment, in add_file()
455 free(comment); in add_file()