Lines Matching refs:certpath
117 char *certpath = NULL, *comment = NULL; in delete_file() local
140 xasprintf(&certpath, "%s-cert.pub", filename); in delete_file()
141 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
144 certpath, ssh_err(r)); in delete_file()
150 certpath, filename); in delete_file()
155 certpath, comment); in delete_file()
160 certpath, ssh_err(r)); in delete_file()
165 free(certpath); in delete_file()
201 char msg[1024], *certpath = NULL; in add_file() local
347 xasprintf(&certpath, "%s-cert.pub", filename); in add_file()
348 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) { in add_file()
351 certpath, ssh_err(r)); in add_file()
357 certpath, filename); in add_file()
377 error("Certificate %s (%s) add failed: %s", certpath, in add_file()
383 fprintf(stderr, "Certificate added: %s (%s)\n", certpath, in add_file()
396 free(certpath); in add_file()