Lines Matching refs:comment
103 char *certpath = NULL, *comment = NULL; in delete_file() local
106 public = key_load_public(filename, &comment); in delete_file()
112 fprintf(stderr, "Identity removed: %s (%s)\n", filename, comment); in delete_file()
121 free(comment); in delete_file()
122 comment = NULL; in delete_file()
124 if ((cert = key_load_public(certpath, &comment)) == NULL) in delete_file()
132 comment); in delete_file()
143 free(comment); in delete_file()
171 char *comment = NULL; in add_file() local
204 private = key_parse_private(&keyblob, filename, "", &comment); in add_file()
205 if (comment == NULL) in add_file()
206 comment = xstrdup(filename); in add_file()
214 comment); in add_file()
219 free(comment); in add_file()
224 &comment); in add_file()
229 "Bad passphrase, try again for %.200s: ", comment); in add_file()
234 if (ssh_add_identity_constrained(ac, private, comment, lifetime, in add_file()
236 fprintf(stderr, "Identity added: %s (%s)\n", filename, comment); in add_file()
273 if (!ssh_add_identity_constrained(ac, private, comment, in add_file()
287 free(comment); in add_file()
323 char *comment, *fp; in list_identities() local
328 for (key = ssh_get_first_identity(ac, &comment, version); in list_identities()
330 key = ssh_get_next_identity(ac, &comment, version)) { in list_identities()
336 key_size(key), fp, comment, key_type(key)); in list_identities()
341 fprintf(stdout, " %s\n", comment); in list_identities()
344 free(comment); in list_identities()