Lines Matching refs:certpath
113 char *certpath = NULL, *comment = NULL; in delete_file() local
136 xasprintf(&certpath, "%s-cert.pub", filename); in delete_file()
137 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
140 certpath, ssh_err(r)); in delete_file()
146 certpath, filename); in delete_file()
151 certpath, comment); in delete_file()
156 certpath, ssh_err(r)); in delete_file()
161 free(certpath); in delete_file()
196 char msg[1024], *certpath = NULL; in add_file() local
331 xasprintf(&certpath, "%s-cert.pub", filename); in add_file()
332 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) { in add_file()
335 certpath, ssh_err(r)); in add_file()
341 certpath, filename); in add_file()
361 error("Certificate %s (%s) add failed: %s", certpath, in add_file()
365 fprintf(stderr, "Certificate added: %s (%s)\n", certpath, in add_file()
372 free(certpath); in add_file()