Home
last modified time | relevance | path

Searched refs:certpath (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssh/
H A Dssh-add.c175 char *certpath = NULL, *comment = NULL; in delete_file() local
198 xasprintf(&certpath, "%s-cert.pub", filename); in delete_file()
199 if ((r = sshkey_load_public(certpath, &cert, &comment)) != 0) { in delete_file()
201 error_r(r, "Failed to load certificate \"%s\"", certpath); in delete_file()
207 certpath, filename); in delete_file()
209 if (delete_one(agent_fd, cert, comment, certpath, qflag) == 0) in delete_file()
215 free(certpath); in delete_file()
253 char msg[1024], *certpath = NULL; in add_file() local
404 xasprintf(&certpath, "%s-cert.pub", filename); in add_file()
405 if ((r = sshkey_load_public(certpath, &cert, NULL)) != 0) { in add_file()
[all …]
/freebsd/usr.sbin/uefisign/
H A Duefisign.c338 const char *certpath = NULL, *keypath = NULL, *outpath = NULL, *inpath = NULL; in main() local
351 if (certpath == NULL) in main()
352 certpath = checked_strdup(optarg); in main()
382 if (certpath != NULL) in main()
389 if (certpath == NULL) in main()
419 certfp = checked_fopen(certpath, "r"); in main()
423 errx(1, "failed to load certificate from %s", certpath); in main()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dagent_fuzz_helper.c59 add_key(const char *privkey, const char *certpath) in add_key() argument
78 cert = pubkey_or_die(certpath); in add_key()