Lines Matching refs:comment
110 char *certpath = NULL, *comment = NULL; in delete_file() local
113 if ((r = sshkey_load_public(filename, &public, &comment)) != 0) { in delete_file()
118 fprintf(stderr, "Identity removed: %s (%s)\n", filename, comment); in delete_file()
128 free(comment); in delete_file()
129 comment = NULL; in delete_file()
131 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
144 comment); in delete_file()
156 free(comment); in delete_file()
185 char *comment = NULL; in add_file() local
221 &private, &comment)) != 0 && r != SSH_ERR_KEY_WRONG_PASSPHRASE) { in add_file()
229 &private, &comment)) != 0 && in add_file()
236 if (comment == NULL) in add_file()
237 comment = xstrdup(filename); in add_file()
242 comment, confirm ? " (will confirm each use)" : ""); in add_file()
256 free(comment); in add_file()
262 "Bad passphrase, try again for %.200s%s: ", comment, in add_file()
268 if ((r = ssh_add_identity_constrained(agent_fd, private, comment, in add_file()
270 fprintf(stderr, "Identity added: %s (%s)\n", filename, comment); in add_file()
317 if ((r = ssh_add_identity_constrained(agent_fd, private, comment, in add_file()
331 free(comment); in add_file()