Lines Matching refs:certpath
112 char *certpath = NULL, *comment = NULL; in delete_file() local
132 xasprintf(&certpath, "%s-cert.pub", filename); in delete_file()
133 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
136 certpath, ssh_err(r)); in delete_file()
142 certpath, filename); in delete_file()
145 fprintf(stderr, "Identity removed: %s (%s)\n", certpath, in delete_file()
150 certpath, ssh_err(r)); in delete_file()
155 free(certpath); in delete_file()
185 char msg[1024], *certpath = NULL; in add_file() local
285 xasprintf(&certpath, "%s-cert.pub", filename); in add_file()
286 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) { in add_file()
289 certpath, ssh_err(r)); in add_file()
295 certpath, filename); in add_file()
315 error("Certificate %s (%s) add failed: %s", certpath, in add_file()
319 fprintf(stderr, "Certificate added: %s (%s)\n", certpath, in add_file()
326 free(certpath); in add_file()