Lines Matching defs:certpath
168 char *certpath = NULL, *comment = NULL;
191 xasprintf(&certpath, "%s-cert.pub", filename);
192 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) {
194 error_r(r, "Failed to load certificate \"%s\"", certpath);
200 certpath, filename);
202 if (delete_one(agent_fd, cert, comment, certpath, qflag) == 0)
208 free(certpath);
246 char msg[1024], *certpath = NULL;
397 xasprintf(&certpath, "%s-cert.pub", filename);
398 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) {
401 certpath);
407 certpath, filename);
428 error_r(r, "Certificate %s (%s) add failed", certpath,
434 fprintf(stderr, "Certificate added: %s (%s)\n", certpath,
447 free(certpath);