Lines Matching defs:certpath
167 char *certpath = NULL, *comment = NULL;
190 xasprintf(&certpath, "%s-cert.pub", filename);
191 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) {
193 error_r(r, "Failed to load certificate \"%s\"", certpath);
199 certpath, filename);
201 if (delete_one(agent_fd, cert, comment, certpath, qflag) == 0)
207 free(certpath);
265 char msg[1024], *certpath = NULL;
382 xasprintf(&certpath, "%s-cert.pub", filename);
383 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) {
386 certpath);
392 certpath, filename);
399 logit("Certificate %s has already expired; ignored", certpath);
416 error_r(r, "Certificate %s (%s) add failed", certpath,
422 fprintf(stderr, "Certificate added: %s (%s)\n", certpath,
435 free(certpath);